Re: [PATCH 23/39] win32: add signal routines and SIGALRM support

2010-04-16 Thread Dan Fandrich
On Thu, Apr 15, 2010 at 10:01:31PM +0200, Nguy�n Thái Ng�c Duy wrote: +static void stop_timer_thread(void) +{ + if (timer_event) + SetEvent(timer_event); /* tell thread to terminate */ + if (timer_thread) { + int rc = WaitForSingleObject(timer_thread,

[PATCH 23/39] win32: add signal routines and SIGALRM support

2010-04-15 Thread Nguyễn Thái Ngọc Duy
The implementation for SIGALRM only because Git needs it (I think for progress display or something). Probably not hurt having it. Although the only thing needed here are stubs. Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com --- win32/mingw.c | 124