Merge pull request #801 from erickt/master

Fix a typo in lock_and_signal.cpp
This commit is contained in:
Lindsey Kuper 2011-08-03 19:40:39 -07:00
commit ebca1ae238
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ bool lock_and_signal::timed_wait(size_t timeout_in_ms) {
EnterCriticalSection(&_cs);
_holding_thread = GetCurrentThreadId();
#else
if (timeout_in_ns == 0) {
if (timeout_in_ms == 0) {
CHECKED(pthread_cond_wait(&_cond, &_mutex));
} else {
timeval time_val;