]> git.ipfire.org Git - thirdparty/git.git/commit
compat/win32: add pthread_cond_timedwait
authorPaul Tarjan <github@paulisageek.com>
Thu, 9 Apr 2026 04:59:26 +0000 (04:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Apr 2026 17:59:27 +0000 (10:59 -0700)
commite6efea2affe798bfa8483e93b6aea9e6b7b1b708
tree19938aaf482db7699e02f60797e23e3768542d41
parent20ea1e7e3e1cf4b15434b5f4e24249341c9e77be
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