]> Kevux Git Server - rit/commit
compat/win32: add pthread_cond_timedwait
authorPaul Tarjan <github@paulisageek.com>
Wed, 15 Apr 2026 13:27:28 +0000 (13:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Apr 2026 15:44:32 +0000 (08:44 -0700)
commit8372c88f583b8910f1e57c00c89c0afcca7018dc
tree19938aaf482db7699e02f60797e23e3768542d41
parent8b1d96554261aeef649bb3f36f9812a3c6e3f4da
compat/win32: add pthread_cond_timedwait

Add a pthread_cond_timedwait() implementation to the Windows pthread
compatibility layer using SleepConditionVariableCS() with a millisecond
timeout computed from the absolute deadline.

Signed-off-by: Paul Tarjan <github@paulisageek.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/win32/pthread.c
compat/win32/pthread.h