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

12

/haiku/src/tests/kits/support/blocker/
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);
H A DConcurrencyTest2.cpp7 except it makes the first LockWithTimeout inside the threads timeout. The
136 * Based on these values, it may do a LockWithTimeout() or just
153 result = (theLocker->LockWithTimeout(1000000) == B_OK);
174 CPPUNIT_ASSERT(theLocker->LockWithTimeout(SNOOZE_TIME/10) == B_TIMED_OUT);
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);
/haiku/src/apps/cortex/support/
H A DSimpleLockable.h62 return m_lock.LockWithTimeout(timeout) == B_OK;
/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 DMixerSettings.cpp550 if (B_OK != fLocker->LockWithTimeout(200000))
/haiku/headers/os/support/
H A DLocker.h23 status_t LockWithTimeout(bigtime_t timeout);
/haiku/headers/build/os/support/
H A DLocker.h23 status_t LockWithTimeout(bigtime_t timeout);
/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/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/screensaver/
H A DScreenSaverRunner.cpp221 } else if (fWindow->LockWithTimeout(5000LL) == B_OK) {
/haiku/src/apps/mediaplayer/supplier/
H A DProxyAudioSupplier.cpp100 status_t error = fPlaybackManager->LockWithTimeout(10000);
/haiku/src/kits/media/legacy/
H A DOldMediaModule.h206 status_t LockWithTimeout(bigtime_t);
H A DOldMediaModule.cpp652 BMediaChannel::LockWithTimeout(bigtime_t) function in class:BMediaChannel
/haiku/headers/os/app/
H A DLooper.h78 status_t LockWithTimeout(bigtime_t timeout);
/haiku/src/apps/soundrecorder/
H A DVUView.cpp170 if (Window()->LockWithTimeout(5000) == B_OK) {
H A DScopeView.cpp209 if (Window()->LockWithTimeout(5000) == B_OK) {
/haiku/src/servers/app/drawing/interface/virtual/
H A DViewHWInterface.cpp345 if (fUpdateLock.LockWithTimeout(2000LL) >= B_OK) {
396 if (LockWithTimeout(1000000) >= B_OK) {
/haiku/src/kits/app/
H A DMessenger.cpp139 status_t result = looper->LockWithTimeout(timeout);
/haiku/src/apps/haikudepot/process/
H A DProcessCoordinator.cpp358 if (fLock.LockWithTimeout(LOCK_TIMEOUT_MICROS) != B_OK) {
/haiku/src/apps/mediaplayer/media_node_framework/video/
H A DVideoConsumer.cpp605 if (fManager->LockWithTimeout(10000) == B_OK) {
/haiku/src/tests/kits/game/chart/
H A DChartWindow.cpp1137 if (window->LockWithTimeout(200000) == B_OK) {
1322 if (LockWithTimeout(timeout) != B_OK)
1387 if (LockWithTimeout(timeout) == B_OK) {
1473 if (LockWithTimeout(200000) == B_OK) {
1567 if (LockWithTimeout(200000) == B_OK) {
1600 if (LockWithTimeout(200000) == B_OK) {
2197 if (w->LockWithTimeout(200000) == B_OK) {
2858 if (LockWithTimeout(200000) != B_OK)
/haiku/src/servers/app/
H A DDelayedMessage.cpp798 if (fLock.LockWithTimeout(30000) != B_OK) {

Completed in 110 milliseconds

12