]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/stack: stop using `sleep_millisec()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 18 Feb 2025 09:20:48 +0000 (10:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Feb 2025 18:55:38 +0000 (10:55 -0800)
commit10f2935c7f2070368dadde582f94c9c76e2fe991
tree6c4cf1affa6e8e3f6b85afa5ac9384b1f26c4fa2
parent712f6cfe5411fdbbf46688c22a40fac7e0a8839b
reftable/stack: stop using `sleep_millisec()`

Refactor our use of `sleep_millisec()` by open-coding it with poll(3p),
which is the current implementation of this function. Ideally, we'd use
a more direct way to sleep, but there is no equivalent to sleep(3p) that
would accept milliseconds as input.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/stack.c