OS.h: add a note about B_ABSOLUTE_REAL_TIME_TIMEOUT.
* B_ABSOLUTE_REAL_TIME_TIMEOUT is used for kernel timers, and must be used for absolute timeout values, rather than the B_ABSOLUTE_TIMEOUT flag. Discovered whilst implementing `pthread_timedjoin_np`. Change-Id: I37ae057073ff5efeecc00406b132abf51bebbdc2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5100 Reviewed-by: Fredrik Holmqvist <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
48c3343960
commit
bed49f85a4
@@ -37,6 +37,9 @@ enum {
|
|||||||
B_TIMEOUT_REAL_TIME_BASE = 0x40,
|
B_TIMEOUT_REAL_TIME_BASE = 0x40,
|
||||||
B_ABSOLUTE_REAL_TIME_TIMEOUT = B_ABSOLUTE_TIMEOUT
|
B_ABSOLUTE_REAL_TIME_TIMEOUT = B_ABSOLUTE_TIMEOUT
|
||||||
| B_TIMEOUT_REAL_TIME_BASE
|
| B_TIMEOUT_REAL_TIME_BASE
|
||||||
|
/* fails after an absolute timeout
|
||||||
|
with B_TIMED_OUT based on the
|
||||||
|
real time clock */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user