Home
last modified time | relevance | path

Searched refs:m_lock (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sync/
H A Dbarrier.d59 m_lock = new Mutex;
60 m_cond = new Condition( m_lock );
80 synchronized( m_lock ) in wait()
97 Mutex m_lock;
/netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/
H A Dkernel.c128 (void) _mutex_init(&mp->m_lock, USYNC_THREAD, NULL); in zmutex_init()
136 (void) _mutex_destroy(&(mp)->m_lock); in zmutex_destroy()
155 VERIFY(mutex_lock(&mp->m_lock) == 0); in mutex_enter()
165 if (0 == mutex_trylock(&mp->m_lock)) { in mutex_tryenter()
180 VERIFY(mutex_unlock(&mp->m_lock) == 0); in mutex_exit()
323 int ret = cond_wait(cv, &mp->m_lock); in cv_wait()
356 error = pthread_cond_timedwait(cv, &mp->m_lock, &ts); in cv_timedwait()
394 error = pthread_cond_timedwait(cv, &mp->m_lock, &ts); in cv_timedwait_hires()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/thread/
H A Dosthread.d1770 if ( !t.m_lock ) in private()
1784 if ( !t.m_lock ) in private()
1829 if ( !t.m_lock ) in private()
1848 if ( !t.m_lock ) in private()
1879 if (!t.m_lock) in private()
1900 if (!t.m_lock) in private()
1915 if (!t.m_lock) in private()
1926 if (!t.m_lock) in private()
1949 else if ( !t.m_lock ) in private()
2057 if ( !t.m_lock ) in private()
[all …]
H A Dfiber.d213 atomicStore!(MemoryOrder.raw)(*cast(shared)&Thread.getThis().m_lock, false); in fiber_entryPoint()
1620 atomicStore!(MemoryOrder.raw)(*cast(shared)&tobj.m_lock, true); in switchIn()
1628 atomicStore!(MemoryOrder.raw)(*cast(shared)&tobj.m_lock, false); in switchIn()
1654 atomicStore!(MemoryOrder.raw)(*cast(shared)&tobj.m_lock, true); in switchOut()
1664 atomicStore!(MemoryOrder.raw)(*cast(shared)&tobj.m_lock, false); in switchOut()
H A Dthreadbase.d478 bool m_lock; variable
1054 if (!thisThread.m_lock) in scanAllTypeImpl()
1065 if (!thisThread.m_lock) in scanAllTypeImpl()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dconcurrency.d1756 m_lock = new Mutex; in this()
1761 m_putMsg = new Condition(m_lock); in this()
1762 m_notFull = new Condition(m_lock); in this()
1766 m_putMsg = scheduler.newCondition(m_lock); in this()
1767 m_notFull = scheduler.newCondition(m_lock); in this()
1774 synchronized (m_lock) in isClosed()
1793 synchronized (m_lock) in setMaxMsgs()
1816 synchronized (m_lock) in put()
2029 synchronized (m_lock) in get()
2106 synchronized (m_lock) in close()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dconcurrency.d2015 m_lock = new Mutex; in this()
2020 m_putMsg = new Condition(m_lock); in this()
2021 m_notFull = new Condition(m_lock); in this()
2025 m_putMsg = scheduler.newCondition(m_lock); in this()
2026 m_notFull = scheduler.newCondition(m_lock); in this()
2033 synchronized (m_lock) in isClosed()
2052 synchronized (m_lock) in setMaxMsgs()
2075 synchronized (m_lock) in put()
2291 synchronized (m_lock) in get()
2369 synchronized (m_lock) in close()
[all …]
/netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/sys/
H A Dzfs_context.h260 mutex_t m_lock; member