Home
last modified time | relevance | path

Searched refs:_M_lock (Results 1 – 4 of 4) sorted by relevance

/external/stlport/stlport/stl/
D_threads.h278 volatile __stl_atomic_t _M_lock; member
283 inline void _M_initialize() { _M_lock = 0; } in _M_initialize()
287 _STLP_mutex_spin<0>::_M_do_lock(&_M_lock); in _M_acquire_lock()
291 volatile __stl_atomic_t* __lock = &_M_lock; in _M_release_lock()
314 pthread_spinlock_t _M_lock; member
315 inline void _M_initialize() { pthread_spin_init( &_M_lock, 0 ); } in _M_initialize()
316 inline void _M_destroy() { pthread_spin_destroy( &_M_lock ); } in _M_destroy()
328 inline void _M_acquire_lock() { pthread_spin_lock( &_M_lock ); } in _M_acquire_lock()
329 inline void _M_release_lock() { pthread_spin_unlock( &_M_lock ); } in _M_release_lock()
331 spinlock_t _M_lock; member
[all …]
/external/stlport/stlport/stl/debug/
D_debug.c125 _STLP_ACQUIRE_LOCK(__base->_M_lock) in __invalidate_range()
142 _STLP_RELEASE_LOCK(__base->_M_lock) in __invalidate_range()
149 _STLP_ACQUIRE_LOCK(__base->_M_lock) in __invalidate_iterator()
164 _STLP_RELEASE_LOCK(__base->_M_lock) in __invalidate_iterator()
452 _STLP_ACQUIRE_LOCK(__l->_M_lock); in _Invalidate_all()
455 _STLP_RELEASE_LOCK(__l->_M_lock); in _Invalidate_all()
475 _STLP_ACQUIRE_LOCK(__l->_M_lock); in _Verify()
483 _STLP_RELEASE_LOCK(__l->_M_lock); in _Verify()
539 _STLP_ACQUIRE_LOCK(__l->_M_lock) in _M_detach()
552 _STLP_RELEASE_LOCK(__l->_M_lock) in _M_detach()
[all …]
D_debug.h369 mutable _STLP_mutex _M_lock; variable
/external/stlport/src/
Dallocators.cpp782 _STLP_mutex _M_lock; member
824 class _M_lock;
825 friend class _M_lock;
826 class _M_lock { class in _Pthread_alloc_impl
828 _M_lock () { _S_chunk_allocator_lock._M_acquire_lock(); } in _M_lock() function in _Pthread_alloc_impl::_M_lock
829 ~_M_lock () { _S_chunk_allocator_lock._M_release_lock(); } in ~_M_lock()
885 _M_lock __lock_instance; // Need to acquire lock here. in _S_destructor()
911 _M_lock __lock_instance; // Need to acquire lock here. in _S_get_per_thread_state()
942 _M_lock __lock_instance; // Acquire lock for this routine in _S_chunk_alloc()
1046 _STLP_auto_lock __lock(__a->_M_lock); in allocate()
[all …]