[PATCH 2/6] server: Use monotonic clock for relative timeouts.
Alexandre Julliard
julliard at winehq.org
Mon Apr 6 06:20:14 CDT 2020
Piotr Caban <piotr at codeweavers.com> writes:
> @@ -214,6 +214,9 @@ struct wake_up_reply
> typedef __int64 timeout_t;
> #define TIMEOUT_INFINITE (((timeout_t)0x7fffffff) << 32 | 0xffffffff)
>
> +/* absolute timeout, negative means that monotonic clock is used */
> +typedef __int64 when_t;
It's not clear that 'when' would mean absolute timeout. I'd suggest
naming it something like abstime_t instead.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list