]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: posix timers: fix overrun count always being 1 too big
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 22 Jan 2019 17:20:18 +0000 (18:20 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 22 Jan 2019 17:20:18 +0000 (18:20 +0100)
commit1f10a00ba717b22b154205508e60af0dcb641ed3
tree0dba584f72b31278d1b208e3bb9c82a6db350d10
parentde0ec284a3aeb31601383c507904ddaf755854f6
Cygwin: posix timers: fix overrun count always being 1 too big

Combine with a bit of cleanup:
- Drop overrun_event_running in favor of overrun_count being -1.
- Fix include guard in posix_timer.h.
- Drop ununsed function timespec_to_us.
- Don't use Interlocked functions without need.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/posix_timer.cc
winsup/cygwin/posix_timer.h
This page took 0.027746 seconds and 5 git commands to generate.