Searched refs:native_handle_ (Results 1 – 10 of 10) sorted by relevance
/third_party/node/deps/v8/src/base/platform/ |
D | mutex.cc | 148 InitializeNativeHandle(&native_handle_); in Mutex() 156 DestroyNativeHandle(&native_handle_); in ~Mutex() 162 LockNativeHandle(&native_handle_); in Lock() 169 UnlockNativeHandle(&native_handle_); in Unlock() 174 if (!TryLockNativeHandle(&native_handle_)) { in TryLock() 183 InitializeRecursiveNativeHandle(&native_handle_); in RecursiveMutex() 191 DestroyNativeHandle(&native_handle_); in ~RecursiveMutex() 197 LockNativeHandle(&native_handle_); in Lock() 210 UnlockNativeHandle(&native_handle_); in Unlock() 215 if (!TryLockNativeHandle(&native_handle_)) { in TryLock() [all …]
|
D | semaphore.cc | 25 native_handle_ = dispatch_semaphore_create(count); in Semaphore() 26 DCHECK(native_handle_); in Semaphore() 29 Semaphore::~Semaphore() { dispatch_release(native_handle_); } in ~Semaphore() 31 void Semaphore::Signal() { dispatch_semaphore_signal(native_handle_); } in Signal() 34 dispatch_semaphore_wait(native_handle_, DISPATCH_TIME_FOREVER); in Wait() 41 return dispatch_semaphore_wait(native_handle_, timeout) == 0; in WaitFor() 48 int result = sem_init(&native_handle_, 0, count); 55 int result = sem_destroy(&native_handle_); 61 int result = sem_post(&native_handle_); 73 int result = sem_wait(&native_handle_); [all …]
|
D | condition-variable.cc | 31 result = pthread_cond_init(&native_handle_, &attr); in ConditionVariable() 35 int result = pthread_cond_init(&native_handle_, nullptr); in ConditionVariable() 52 pthread_cond_timedwait_relative_np(&native_handle_, &lock.native_handle(), in ~ConditionVariable() 56 int result = pthread_cond_destroy(&native_handle_); in ~ConditionVariable() 63 int result = pthread_cond_signal(&native_handle_); in NotifyOne() 70 int result = pthread_cond_broadcast(&native_handle_); in NotifyAll() 78 int result = pthread_cond_wait(&native_handle_, &mutex->native_handle()); in Wait() 96 &native_handle_, &mutex->native_handle(), &ts); in WaitFor() 113 &native_handle_, &mutex->native_handle(), &ts); in WaitFor() 126 InitializeConditionVariable(V8ToWindowsType(&native_handle_)); [all …]
|
D | condition-variable.h | 78 return native_handle_; in native_handle() 81 return native_handle_; in native_handle() 85 NativeHandle native_handle_;
|
D | mutex.h | 75 return native_handle_; in native_handle() 78 return native_handle_; in native_handle() 85 NativeHandle native_handle_; 179 NativeHandle native_handle_; variable 281 NativeHandle native_handle_; variable
|
D | semaphore.h | 69 return native_handle_; in native_handle() 72 return native_handle_; in native_handle() 76 NativeHandle native_handle_;
|
/third_party/gn/src/util/ |
D | semaphore.cc | 19 native_handle_ = dispatch_semaphore_create(count); in Semaphore() 20 DCHECK(native_handle_); in Semaphore() 24 dispatch_release(native_handle_); in ~Semaphore() 28 dispatch_semaphore_signal(native_handle_); in Signal() 32 dispatch_semaphore_wait(native_handle_, DISPATCH_TIME_FOREVER); in Wait() 39 int result = sem_init(&native_handle_, 0, count); in Semaphore() 44 int result = sem_destroy(&native_handle_); in ~Semaphore() 49 int result = sem_post(&native_handle_); in Signal() 58 int result = sem_wait(&native_handle_); in Wait() 71 native_handle_ = ::CreateSemaphoreA(nullptr, count, 0x7FFFFFFF, nullptr); in Semaphore() [all …]
|
D | semaphore.h | 45 NativeHandle& native_handle() { return native_handle_; } in native_handle() 46 const NativeHandle& native_handle() const { return native_handle_; } in native_handle() 49 NativeHandle native_handle_;
|
/third_party/cef/libcef_dll/base/ |
D | cef_lock_impl.cc | 15 ::InitializeCriticalSectionAndSpinCount(&native_handle_, 2000); in LockImpl() 19 ::DeleteCriticalSection(&native_handle_); in ~LockImpl() 23 if (::TryEnterCriticalSection(&native_handle_) != FALSE) { in Try() 30 ::EnterCriticalSection(&native_handle_); in Lock() 34 ::LeaveCriticalSection(&native_handle_); in Unlock() 58 rv = pthread_mutex_init(&native_handle_, &mta); in LockImpl() 64 pthread_mutex_init(&native_handle_, NULL); in LockImpl() 69 int rv = pthread_mutex_destroy(&native_handle_); in ~LockImpl() 74 int rv = pthread_mutex_trylock(&native_handle_); in Try() 80 int rv = pthread_mutex_lock(&native_handle_); in Lock() [all …]
|
/third_party/cef/include/base/internal/ |
D | cef_lock_impl.h | 78 NativeHandle* native_handle() { return &native_handle_; } in native_handle() 81 NativeHandle native_handle_;
|