Cygwin: timers: implement timerfd

First cut of a timerfd implementation.

Still TODO:
- fork/exec semantics
- timerfd_settime TFD_TIMER_CANCEL_ON_SET flag
- ioctl(TFD_IOC_SET_TICKS)
- bug fixes

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2019-01-15 22:02:33 +01:00
parent b6f53617a7
commit 068182e26c
16 changed files with 592 additions and 52 deletions

View File

@@ -578,6 +578,9 @@ fh_alloc (path_conv& pc)
case FH_SIGNALFD:
fh = cnew (fhandler_signalfd);
break;
case FH_TIMERFD:
fh = cnew (fhandler_timerfd);
break;
case FH_TTY:
if (!pc.isopen ())
{