Cygwin: posix timers: implement timer_getoverrun

- set DELAYTIMER_MAX to INT_MAX
- make sure to set siginfo_t::si_overrun, as on Linux

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2019-01-12 21:19:52 +01:00
parent 961be8d726
commit 9e295a8d19
10 changed files with 159 additions and 13 deletions

View File

@@ -184,7 +184,7 @@ details. */
/* Maximum number of timer expiration overruns. Not yet implemented. */
#undef DELAYTIMER_MAX
/* #define DELAYTIMER_MAX >= _POSIX_DELAYTIMER_MAX */
#define DELAYTIMER_MAX __INT_MAX__
/* Maximum length of a host name. */
#undef HOST_NAME_MAX