parent
969237f422
commit
b0f26c79ff
4 changed files with 2 additions and 13 deletions
|
|
@ -682,7 +682,7 @@ fn wait_for_messages_impl(
|
|||
|
||||
unsafe {
|
||||
// Either:
|
||||
// 1. User wants to wait indefinely if timeout is not set.
|
||||
// 1. User wants to wait indefinitely if timeout is not set.
|
||||
// 2. We failed to get and set high resolution timer and we need something instead of it.
|
||||
let wait_duration_ms = timeout.map(dur2timeout).unwrap_or(INFINITE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue