Home
last modified time | relevance | path

Searched refs:thread_lock (Results 1 – 3 of 3) sorted by relevance

/netbsd/src/lib/libc/stdlib/
Dmalloc.c80 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);
/netbsd/src/external/cddl/osnet/dist/uts/common/os/
Dcallb.c406 thread_lock(tp); in callb_is_stopped()
/netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/
Dzvol.c3111 thread_lock(curthread); in zvol_geom_worker()