diff options
Diffstat (limited to 'executor/executor_posix.h')
| -rw-r--r-- | executor/executor_posix.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/executor/executor_posix.h b/executor/executor_posix.h index e9b06b807..3e8b78b3e 100644 --- a/executor/executor_posix.h +++ b/executor/executor_posix.h @@ -61,14 +61,14 @@ bool event_isset(event_t* ev) return res; } -bool event_timedwait(event_t* ev, uint64_t timeout_ms) +bool event_timedwait(event_t* ev, uint64 timeout_ms) { pthread_mutex_lock(&ev->mu); - uint64_t start = current_time_ms(); + uint64 start = current_time_ms(); for (;;) { if (ev->state) break; - uint64_t now = current_time_ms(); + uint64 now = current_time_ms(); if (now - start > timeout_ms) break; timespec ts; |
