/dports/graphics/seexpr/seexpr-3.4.4.0/src/SeExpr2/ |
H A D | Mutex.cpp | 65 _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 D | Mutex.h | 69 SEEXPR_SPINLOCK_T _spinlock;
|
/dports/devel/quantum/quantum-2.2/quantum/impl/ |
H A D | quantum_spinlock_impl.h | 60 _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 D | quantum_read_write_spinlock_impl.h | 161 _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 D | quantum_read_write_mutex_impl.h | 69 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 D | quantum_io_queue_impl.h | 197 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 D | quantum_mutex_impl.h | 68 bool rc = _spinlock.tryLock(); in tryLock() 81 _spinlock.unlock(); in unlock() 87 return _spinlock.isLocked(); in isLocked()
|
H A D | quantum_coroutine_pool_allocator_impl.h | 171 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 D | quantum_contiguous_pool_manager_impl.h | 141 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 D | PtexPlatform.h | 116 ~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 D | tcp_manager.c | 90 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 D | quantum_spinlock.h | 121 SpinLock& _spinlock; 142 SpinLock& _spinlock;
|
H A D | quantum_mutex.h | 158 mutable SpinLock _spinlock;
|
H A D | quantum_read_write_spinlock.h | 165 ReadWriteSpinLock& _spinlock;
|
H A D | quantum_read_write_mutex.h | 202 mutable ReadWriteSpinLock _spinlock; variable
|
H A D | quantum_io_queue.h | 102 mutable SpinLock _spinlock; variable
|
H A D | quantum_coroutine_pool_allocator.h | 85 mutable SpinLock _spinlock; member
|
H A D | quantum_contiguous_pool_manager.h | 130 mutable SpinLock _spinlock; member
|
/dports/lang/gnatdroid-sysroot/android-19-arm/usr/include/linux/mtd/ |
H A D | flashchip.h | 53 spinlock_t _spinlock; member
|
/dports/lang/gnatdroid-sysroot-x86/android-19-x86/usr/include/linux/mtd/ |
H A D | flashchip.h | 53 spinlock_t _spinlock; member
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/jfr/utilities/ |
H A D | jfrVersionSystem.hpp | 111 volatile int _spinlock; member in JfrVersionSystem
|
H A D | jfrVersionSystem.inline.hpp | 42 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 D | jfrVersionSystem.hpp | 111 volatile int _spinlock; member in JfrVersionSystem
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/transport/uhd-dpdk/ |
H A D | dpdk_io_service.cpp | 582 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 D | common.hpp | 281 rte_spinlock_t _spinlock = RTE_SPINLOCK_INITIALIZER; member in uhd::transport::dpdk::dpdk_port
|