Home
last modified time | relevance | path

Searched refs:currentThreadId (Results 1 – 2 of 2) sorted by relevance

/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/locks/
DSynchronized.kt15 val currentThreadId = pthread_self()!! in lock() constant
20 val thinLock = LockState(THIN, 1, 0, currentThreadId) in lock()
25 if (currentThreadId == state.ownerThreadId) { in lock()
27 … val thinNested = LockState(THIN, state.nestedLocks + 1, state.waiters, currentThreadId) in lock()
38 tryLockAfterResume(currentThreadId) in lock()
48 if (currentThreadId == state.ownerThreadId) { in lock()
56 tryLockAfterResume(currentThreadId) in lock()
66 val currentThreadId = pthread_self()!! in tryLock() constant
70 val thinLock = LockState(THIN, 1, 0, currentThreadId) in tryLock()
74 if (currentThreadId == state.ownerThreadId) { in tryLock()
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorDeviceThreadPool.h173 EIGEN_STRONG_INLINE int currentThreadId() const { in currentThreadId() function