BLooper::LockWithTimeout() was always using B_INFINITE_TIMEOUT.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@344 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -581,7 +581,7 @@ bool BLooper::IsLocked() const
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
status_t BLooper::LockWithTimeout(bigtime_t timeout)
|
status_t BLooper::LockWithTimeout(bigtime_t timeout)
|
||||||
{
|
{
|
||||||
return _Lock(this, -1, B_INFINITE_TIMEOUT);
|
return _Lock(this, -1, timeout);
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
thread_id BLooper::Thread() const
|
thread_id BLooper::Thread() const
|
||||||
|
|||||||
Reference in New Issue
Block a user