Home
last modified time | relevance | path

Searched refs:_spinlock (Results 1 – 25 of 31) sorted by relevance

12

/dports/graphics/seexpr/seexpr-3.4.4.0/src/SeExpr2/
H A DMutex.cpp65 _spinlock = new CRITICAL_SECTION; in _SpinLock()
68 _spinlock = OS_UNFAIR_LOCK_INIT; in _SpinLock()
70 pthread_spin_init(&_spinlock, PTHREAD_PROCESS_PRIVATE); in _SpinLock()
77 delete _spinlock; in ~_SpinLock()
78 _spinlock = nullptr; in ~_SpinLock()
81 pthread_spin_destroy(&_spinlock); in ~_SpinLock()
88 EnterCriticalSection(reinterpret_cast<CRITICAL_SECTION*>(_spinlock)); in lock()
90 os_unfair_lock_lock(&_spinlock); in lock()
92 pthread_spin_lock(&_spinlock); in lock()
101 os_unfair_lock_unlock(&_spinlock); in unlock()
[all …]
H A DMutex.h69 SEEXPR_SPINLOCK_T _spinlock;
/dports/devel/quantum/quantum-2.2/quantum/impl/
H A Dquantum_spinlock_impl.h60 _spinlock(lock), in Guard()
63 _spinlock.lock(); in Guard()
69 _spinlock(lock), in Guard()
77 _spinlock(lock), in Guard()
85 _spinlock(lock) in Guard()
93 _spinlock.unlock(); in ~Guard()
109 _spinlock.lock(); in lock()
121 _spinlock.unlock(); in unlock()
127 _spinlock(lock) in ReverseGuard()
130 _spinlock.unlock(); in ReverseGuard()
[all …]
H A Dquantum_read_write_spinlock_impl.h161 _spinlock(lock), in Guard()
165 _spinlock.lockRead(); in Guard()
171 _spinlock(lock), in Guard()
175 _spinlock.lockWrite(); in Guard()
182 _spinlock(lock), in Guard()
192 _spinlock(lock), in Guard()
201 _spinlock(lock), in Guard()
210 _spinlock(lock) in Guard()
226 _spinlock.lockRead(); in lockRead()
235 _spinlock.lockWrite(); in lockWrite()
[all …]
H A Dquantum_read_write_mutex_impl.h69 return _spinlock.tryLockRead(); in tryLockRead()
75 bool rc = _spinlock.tryLockWrite(); in tryLockWrite()
114 rc = _spinlock.tryUpgradeToWrite(*pendingUpgrade); in tryUpgradeToWriteImpl()
117 rc = _spinlock.tryUpgradeToWrite(); in tryUpgradeToWriteImpl()
129 _spinlock.unlockRead(); in unlockRead()
137 _spinlock.unlockWrite(); in unlockWrite()
143 return _spinlock.isLocked(); in isLocked()
149 return _spinlock.isReadLocked(); in isReadLocked()
155 return _spinlock.isWriteLocked(); in isWriteLocked()
161 return _spinlock.numReaders(); in numReaders()
[all …]
H A Dquantum_io_queue_impl.h197 SpinLock::Guard lock(_spinlock); in enqueue()
209 SpinLock::Guard lock(_spinlock, lock::tryToLock); in tryEnqueue()
245 SpinLock::Guard lock(_spinlock); in dequeue()
255 SpinLock::Guard lock(_spinlock, lock::tryToLock); in tryDequeue()
363 return _spinlock; in getLock()
394 SpinLock::Guard lock(_spinlock); in grabWorkItem()
404 SpinLock::Guard lock(_spinlock); in grabWorkItem()
H A Dquantum_mutex_impl.h68 bool rc = _spinlock.tryLock(); in tryLock()
81 _spinlock.unlock(); in unlock()
87 return _spinlock.isLocked(); in isLocked()
H A Dquantum_coroutine_pool_allocator_impl.h171 SpinLock::Guard lock(_spinlock); in allocate()
186 SpinLock::Guard lock(_spinlock); in allocate()
213 SpinLock::Guard lock(_spinlock); in deallocate()
220 SpinLock::Guard lock(_spinlock); in deallocate()
H A Dquantum_contiguous_pool_manager_impl.h141 SpinLock::Guard lock(_control->_spinlock); in allocate()
162 SpinLock::Guard lock(_control->_spinlock); in deallocate()
169 SpinLock::Guard lock(_control->_spinlock); in deallocate()
/dports/graphics/ptex/ptex-2.3.2/src/ptex/
H A DPtexPlatform.h116 ~SpinLock() { DeleteCriticalSection(&_spinlock); } in ~SpinLock()
117 void lock() { EnterCriticalSection(&_spinlock); } in lock()
119 void unlock() { LeaveCriticalSection(&_spinlock); } in unlock()
121 CRITICAL_SECTION _spinlock;
141 SpinLock() { _spinlock = OS_UNFAIR_LOCK_INIT; }
143 void lock() { os_unfair_lock_lock(&_spinlock); }
147 os_unfair_lock _spinlock;
153 ~SpinLock() { pthread_spin_destroy(&_spinlock); }
154 void lock() { pthread_spin_lock(&_spinlock); }
156 void unlock() { pthread_spin_unlock(&_spinlock); }
[all …]
/dports/dns/yadifa/yadifa-2.5.3-10333/lib/dnscore/src/
H A Dtcp_manager.c90 spinlock_t _spinlock; member
111 spinlock_lock(&sctx->_spinlock); in tcp_manager_socket_context_host_get()
120 spinlock_lock(&sctx->_spinlock); in tcp_manager_socket_context_host_acquire()
130 spinlock_lock(&sctx->_spinlock); in tcp_manager_socket_context_sockaddr_get()
139 spinlock_lock(&sctx->_spinlock); in tcp_manager_socket_context_sockaddr_length_get()
148 spinlock_lock(&sctx->_spinlock); in tcp_manager_socket_context_sockaddr_length_get_ptr()
157 spinlock_lock(&sctx->_spinlock); in tcp_manager_socket_context_host_get_set()
167 spinlock_lock(&sctx->_spinlock); in tcp_manager_socket_context_socket_get()
176 spinlock_lock(&sctx->_spinlock); in tcp_manager_socket_context_socket_get_set()
186 spinlock_lock(&sctx->_spinlock); in tcp_manager_socket_context_close_time_get()
[all …]
/dports/devel/quantum/quantum-2.2/quantum/
H A Dquantum_spinlock.h121 SpinLock& _spinlock;
142 SpinLock& _spinlock;
H A Dquantum_mutex.h158 mutable SpinLock _spinlock;
H A Dquantum_read_write_spinlock.h165 ReadWriteSpinLock& _spinlock;
H A Dquantum_read_write_mutex.h202 mutable ReadWriteSpinLock _spinlock; variable
H A Dquantum_io_queue.h102 mutable SpinLock _spinlock; variable
H A Dquantum_coroutine_pool_allocator.h85 mutable SpinLock _spinlock; member
H A Dquantum_contiguous_pool_manager.h130 mutable SpinLock _spinlock; member
/dports/lang/gnatdroid-sysroot/android-19-arm/usr/include/linux/mtd/
H A Dflashchip.h53 spinlock_t _spinlock; member
/dports/lang/gnatdroid-sysroot-x86/android-19-x86/usr/include/linux/mtd/
H A Dflashchip.h53 spinlock_t _spinlock; member
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/jfr/utilities/
H A DjfrVersionSystem.hpp111 volatile int _spinlock; member in JfrVersionSystem
H A DjfrVersionSystem.inline.hpp42 inline JfrVersionSystem::JfrVersionSystem() : _tip(), _head(NULL), _spinlock(0) { in JfrVersionSystem()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/jfr/utilities/
H A DjfrVersionSystem.hpp111 volatile int _spinlock; member in JfrVersionSystem
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/transport/uhd-dpdk/
H A Ddpdk_io_service.cpp582 rte_spinlock_lock(&port->_spinlock); in _service_arp_request()
611 rte_spinlock_unlock(&port->_spinlock); in _service_arp_request()
704 rte_spinlock_lock(&port->_spinlock); in _process_arp()
725 rte_spinlock_unlock(&port->_spinlock); in _process_arp()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/include/uhdlib/transport/dpdk/
H A Dcommon.hpp281 rte_spinlock_t _spinlock = RTE_SPINLOCK_INITIALIZER; member in uhd::transport::dpdk::dpdk_port

12