Searched refs:TryAcquire (Results 1 – 5 of 5) sorted by relevance
189 while( ! TryAcquire() ) in Acquire()204 bool TryAcquire() in TryAcquire() function242 …: m_Semaphore(wait ? (semaphore.Acquire(), &semaphore) : (semaphore.TryAcquire() ? &semaphore : 0)…
136 bool TryAcquire(nn::fnd::TimeSpan timeout) { return this->WaitOne(timeout); } in TryAcquire() function
69 return pSemaphore->TryAcquire(TimeSpan::FromNanoSeconds(nanoSeconds)); in nnosSemaphoreTryAcquire()
90 return pLightSemaphore->TryAcquire(); in nnosLightSemaphoreTryAcquire()
78 if (m_Semaphore.TryAcquire()) in TryAllocate()