Skip to content

Commit a8943f3

Browse files
committed
timeout_in_ns was renamed to timeout_in_ms.
1 parent 7a2e9f4 commit a8943f3

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)