From: sigbjorn AT cse DOT ogi DOT edu (Sigbjorn Finne) Subject: Re: ITIMER Implimentation??? 3 Dec 1996 20:20:21 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Original-To: Jeremy Allison Original-cc: chris AT calligrafix DOT co DOT uk, gnu-win32 AT cygnus DOT com In-reply-to: Your message of "Tue, 03 Dec 1996 15:35:01 PST." <199612032335 DOT PAA26370 AT cygnus DOT com> Original-Sender: owner-gnu-win32 AT cygnus DOT com > > Timers are not implemented yet in cygwin32 (Not even in > the mythical beta17 :-). The reason is that asynchronous > signals are not available in NT/95 (for reasons see the VMS > source code or any other of Dave Cutlers work, ie. it's a > religious thing :-). > Not asynchronous signals, but there's always the timer support that comes with the `multimedia' API from MS: timeSetEvent(UINT udelay, UINT uResolution, LPTIMECALLBACK foo, DWORD dwUser, UINT fuEvent); /* periodic or one-shot - runs in sep thread */ (+ friends) Worked fine for me, you may have to noodle with the GNU Win32 header files to get this going, last time I looked the MM stuff wasn't in there. HTH, --sigbjorn sigbjorn AT cse DOT ogi DOT edu - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".