Searched refs:LockWithTimeout (Results 1 - 25 of 38) sorted by path

12

/haiku/headers/build/os/support/
H A DLocker.h23 status_t LockWithTimeout(bigtime_t timeout);
/haiku/headers/os/app/
H A DLooper.h78 status_t LockWithTimeout(bigtime_t timeout);
/haiku/headers/os/support/
H A DLocker.h23 status_t LockWithTimeout(bigtime_t timeout);
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DMixerCore.h61 bool LockWithTimeout(bigtime_t timeout);
142 MixerCore::LockWithTimeout(bigtime_t timeout) function in class:MixerCore
144 return fLocker->LockWithTimeout(timeout) == B_OK;
H A DMixerCore.cpp548 if (!LockWithTimeout(10000)) {
549 ERROR("MixerCore: LockWithTimeout failed\n");
H A DMixerSettings.cpp550 if (B_OK != fLocker->LockWithTimeout(200000))
/haiku/src/apps/cortex/support/
H A DSimpleLockable.h62 return m_lock.LockWithTimeout(timeout) == B_OK;
/haiku/src/apps/mediaplayer/media_node_framework/video/
H A DVideoConsumer.cpp605 if (fManager->LockWithTimeout(10000) == B_OK) {
/haiku/src/apps/mediaplayer/supplier/
H A DProxyAudioSupplier.cpp100 status_t error = fPlaybackManager->LockWithTimeout(10000);
/haiku/src/apps/soundrecorder/
H A DScopeView.cpp209 if (Window()->LockWithTimeout(5000) == B_OK) {
H A DVUView.cpp170 if (Window()->LockWithTimeout(5000) == B_OK) {
/haiku/src/build/libbe/support/
H A DLocker.cpp104 BLocker::LockWithTimeout(bigtime_t timeout) function in class:BLocker
260 // I looked at the LockWithTimeout() code, and it does not have
264 // BLocker::LockWithTimeout() times out, all other Lock*() attempts
/haiku/src/kits/app/
H A DHandler.cpp447 status_t status = looper->LockWithTimeout(timeout);
H A DMessenger.cpp139 status_t result = looper->LockWithTimeout(timeout);
/haiku/src/kits/media/legacy/
H A DOldMediaModule.cpp652 BMediaChannel::LockWithTimeout(bigtime_t) function in class:BMediaChannel
H A DOldMediaModule.h206 status_t LockWithTimeout(bigtime_t);
/haiku/src/kits/screensaver/
H A DScreenSaverRunner.cpp221 } else if (fWindow->LockWithTimeout(5000LL) == B_OK) {
/haiku/src/kits/support/
H A DLocker.cpp104 BLocker::LockWithTimeout(bigtime_t timeout) function in class:BLocker
260 // I looked at the LockWithTimeout() code, and it does not have
264 // BLocker::LockWithTimeout() times out, all other Lock*() attempts
/haiku/src/servers/app/
H A DDelayedMessage.cpp798 if (fLock.LockWithTimeout(30000) != B_OK) {
/haiku/src/tests/kits/support/blocker/
H A DBenaphoreLockCountTest1.cpp152 CPPUNIT_ASSERT(theLocker->LockWithTimeout(SNOOZE_TIME / 10) == B_TIMED_OUT);
184 CPPUNIT_ASSERT(theLocker->LockWithTimeout(SNOOZE_TIME / 10) == B_TIMED_OUT);
H A DConcurrencyTest1.cpp109 * Based on these values, it may do a LockWithTimeout() or just
126 result = (theLocker->LockWithTimeout(1000000) == B_OK);
H A DDestructionTest2.cpp68 CPPUNIT_ASSERT(theLocker->LockWithTimeout(SNOOZE_TIME) == B_OK);
76 CPPUNIT_ASSERT(theLocker->LockWithTimeout(SNOOZE_TIME * 10) == B_BAD_SEM_ID);
96 CPPUNIT_ASSERT(theLocker->LockWithTimeout(SNOOZE_TIME / 10) == B_TIMED_OUT);
98 CPPUNIT_ASSERT(theLocker->LockWithTimeout(SNOOZE_TIME * 10) == B_OK);
H A DSemaphoreLockCountTest1.cpp140 CPPUNIT_ASSERT(theLocker->LockWithTimeout(SNOOZE_TIME / 10) == B_TIMED_OUT);
167 CPPUNIT_ASSERT(theLocker->LockWithTimeout(SNOOZE_TIME / 10) == B_TIMED_OUT);
/haiku/src/apps/autoraise/
H A DAutoRaiseIcon.cpp445 if (!l || l->LockWithTimeout(500000) != B_OK)
/haiku/src/apps/cortex/NodeManager/
H A DNodeGroup.cpp877 status_t err = m_lock.LockWithTimeout(timeout);

Completed in 287 milliseconds

12