Skip to content

Commit ebca1ae

Browse files
committed
Merge pull request #801 from erickt/master
Fix a typo in lock_and_signal.cpp
2 parents 7a2e9f4 + a8943f3 commit ebca1ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/sync/lock_and_signal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ bool lock_and_signal::timed_wait(size_t timeout_in_ms) {
7878
EnterCriticalSection(&_cs);
7979
_holding_thread = GetCurrentThreadId();
8080
#else
81-
if (timeout_in_ns == 0) {
81+
if (timeout_in_ms == 0) {
8282
CHECKED(pthread_cond_wait(&_cond, &_mutex));
8383
} else {
8484
timeval time_val;

0 commit comments

Comments
 (0)