You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
function ofi_wait_cond uses ofi_gettime_ms() to get current time, and ofi_gettime_ms uses CLOCK_MONOTONIC,
but pthread_cond_timedwait default uses CLOCK_REALTIME, the two clocks are different.
To Reproduce
Expected behavior
ofi_gettime_ms should use CLOCK_REALTIME or make another API to return time with CLOCK_REALTIME
Output
Environment:
Linux
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
function ofi_wait_cond uses ofi_gettime_ms() to get current time, and ofi_gettime_ms uses CLOCK_MONOTONIC,
but pthread_cond_timedwait default uses CLOCK_REALTIME, the two clocks are different.
To Reproduce
Expected behavior
ofi_gettime_ms should use CLOCK_REALTIME or make another API to return time with CLOCK_REALTIME
Output
Environment:
Linux
Additional context
The text was updated successfully, but these errors were encountered: