OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:thread_lock
(Results
1 - 2
of
2
) sorted by relevancy
/src/lib/libc/stdlib/
malloc.c
80
static spinlock_t
thread_lock
= _SPINLOCK_INITIALIZER;
variable
81
# define _MALLOC_LOCK() if (__isthreaded) _SPINLOCK(&
thread_lock
);
82
# define _MALLOC_UNLOCK() if (__isthreaded) _SPINUNLOCK(&
thread_lock
);
101
static mutex_t
thread_lock
= MUTEX_INITIALIZER;
variable
102
# define _MALLOC_LOCK() if (__isthreaded) mutex_lock(&
thread_lock
);
103
# define _MALLOC_UNLOCK() if (__isthreaded) mutex_unlock(&
thread_lock
);
malloc.c
80
static spinlock_t
thread_lock
= _SPINLOCK_INITIALIZER;
variable
81
# define _MALLOC_LOCK() if (__isthreaded) _SPINLOCK(&
thread_lock
);
82
# define _MALLOC_UNLOCK() if (__isthreaded) _SPINUNLOCK(&
thread_lock
);
101
static mutex_t
thread_lock
= MUTEX_INITIALIZER;
variable
102
# define _MALLOC_LOCK() if (__isthreaded) mutex_lock(&
thread_lock
);
103
# define _MALLOC_UNLOCK() if (__isthreaded) mutex_unlock(&
thread_lock
);
Completed in 82 milliseconds
Indexes created Sun Feb 22 08:20:21 UTC 2026