Windows: Implement setitimer() and sigaction().
commit6072fc314e87d53bec7266df5b6c3db2c2c82829
authorJohannes Sixt <johannes.sixt@telecom.at>
Tue, 13 Nov 2007 09:14:45 +0000 (13 10:14 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Mon, 23 Jun 2008 11:40:30 +0000 (23 13:40 +0200)
tree9fc2067e37ca090764d838dcccde73951ad63a05
parent82f8d969f581c4bd4a782565709466046d962d81
Windows: Implement setitimer() and sigaction().

The timer is implemented using a thread that calls the signal handler
at regular intervals.

We also replace Windows's signal() function because we must intercept
that SIGALRM is set (which is used when a timer is canceled).

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
compat/mingw.c
compat/mingw.h