OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:thread_lock
(Results
1 - 1
of
1
) sorted by relevancy
/src/lib/libc/stdlib/
malloc.c
80
static spinlock_t
thread_lock
= _SPINLOCK_INITIALIZER;
variable in typeref:typename:spinlock_t
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 in typeref:typename:mutex_t
102
# define _MALLOC_LOCK() if (__isthreaded) mutex_lock(&
thread_lock
);
103
# define _MALLOC_UNLOCK() if (__isthreaded) mutex_unlock(&
thread_lock
);
Completed in 52 milliseconds
Indexes created Thu Oct 02 10:09:58 GMT 2025