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

12

/haiku-fatelf/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 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 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 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-fatelf/src/add-ons/media/media-add-ons/mixer/
H A DMixerCore.h57 bool LockWithTimeout(bigtime_t timeout);
132 MixerCore::LockWithTimeout(bigtime_t timeout) function in class:MixerCore
134 return fLocker->LockWithTimeout(timeout) == B_OK;
149 if (LockWithTimeout(10000))
H A DMixerSettings.cpp572 if (B_OK != fLocker->LockWithTimeout(200000))
/haiku-fatelf/src/apps/cortex/support/
H A DSimpleLockable.h62 return m_lock.LockWithTimeout(timeout) == B_OK;
/haiku-fatelf/headers/os/support/
H A DLocker.h23 status_t LockWithTimeout(bigtime_t timeout);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/headers/shared/
H A DLocker.h36 status_t LockWithTimeout(bigtime_t timeout);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/reiserfs/
H A DLocker.h37 status_t LockWithTimeout(bigtime_t timeout);
H A DLocker.cpp109 BLocker::LockWithTimeout(bigtime_t timeout) function in class:OpenBeOS::BLocker
259 // I looked at the LockWithTimeout() code, and it does not have
263 // BLocker::LockWithTimeout() times out, all other Lock*() attempts
/haiku-fatelf/src/kits/support/
H A DLocker.cpp102 BLocker::LockWithTimeout(bigtime_t timeout) function in class:BLocker
251 // I looked at the LockWithTimeout() code, and it does not have
255 // BLocker::LockWithTimeout() times out, all other Lock*() attempts
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/shared/
H A DLocker.cpp110 Locker::LockWithTimeout(bigtime_t timeout) function in class:OpenBeOS::Locker
265 // I looked at the LockWithTimeout() code, and it does not have
269 // Locker::LockWithTimeout() times out, all other Lock*() attempts
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DLock.h134 status_t LockWithTimeout(bigtime_t timeout) function in class:RecursiveLock
160 return LockWithTimeout(B_INFINITE_TIMEOUT);
/haiku-fatelf/src/kits/screensaver/
H A DScreenSaverRunner.cpp230 } else if (fWindow->LockWithTimeout(5000LL) == B_OK) {
/haiku-fatelf/headers/os/app/
H A DLooper.h75 status_t LockWithTimeout(bigtime_t timeout);
/haiku-fatelf/src/apps/mediaplayer/supplier/
H A DProxyAudioSupplier.cpp99 status_t error = fPlaybackManager->LockWithTimeout(10000);
/haiku-fatelf/src/apps/soundrecorder/
H A DScopeView.cpp209 if (Window()->LockWithTimeout(5000) == B_OK) {
H A DVUView.cpp167 if (Window()->LockWithTimeout(5000) == B_OK) {
/haiku-fatelf/src/kits/app/
H A DMessenger.cpp230 Target() and calling BLooper::LockWithTimeout() on the looper afterwards.
232 \see BLooper::LockWithTimeout() for details.
238 - other error codes returned by BLooper::LockWithTimeout().
248 status_t error = looper->LockWithTimeout(timeout);
/haiku-fatelf/src/kits/media/
H A DOldMediaModule.cpp652 BMediaChannel::LockWithTimeout(bigtime_t) function in class:BMediaChannel
H A DOldMediaModule.h206 status_t LockWithTimeout(bigtime_t);
/haiku-fatelf/src/tests/kits/midi/patchbay/
H A DTToolTip.cpp297 if (tip->tool_tip_window->LockWithTimeout(0) == B_NO_ERROR) {
/haiku-fatelf/src/apps/mediaplayer/media_node_framework/video/
H A DVideoConsumer.cpp603 if (fManager->LockWithTimeout(10000) == B_OK) {

Completed in 136 milliseconds

12