Home
last modified time | relevance | path

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

/external/stlport/stlport/stl/
D_threads.c118 _STLP_mutex_spin<__inst>::_M_do_lock(volatile __stl_atomic_t* __lock) { in _M_do_lock() argument
120 if (_Atomic_swap(__lock, 1)) { in _M_do_lock()
127 if (__i < __my_last_spins/2 || *__lock) { in _M_do_lock()
131 if (!_Atomic_swap(__lock, 1)) { in _M_do_lock()
150 if (!_Atomic_swap(__lock, 1)) { in _M_do_lock()
D_threads.h256 static void _STLP_CALL _M_do_lock(volatile __stl_atomic_t* __lock);
291 volatile __stl_atomic_t* __lock = &_M_lock; in _M_release_lock() local
294 *__lock = 0; in _M_release_lock()
297 __lock_release(__lock); in _M_release_lock()
304 *__lock = 0; in _M_release_lock()
306 *__lock = 0; in _M_release_lock()
424 _STLP_auto_lock(_STLP_STATIC_MUTEX& __lock) : _M_lock(__lock) in _STLP_auto_lock()
/external/stlport/src/
Dios.cpp142 static _STLP_STATIC_MUTEX __lock _STLP_MUTEX_INITIALIZER; in xalloc()
143 _STLP_auto_lock sentry(__lock); in xalloc()
Dallocators.cpp1046 _STLP_auto_lock __lock(__a->_M_lock); in allocate() local
1071 _STLP_auto_lock __lock(__a->_M_lock); in deallocate() local