From: sigbjorn@cse.ogi.edu (Sigbjorn Finne)
Subject: Re: ITIMER Implimentation???
3 Dec 1996 20:20:21 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <m0vV7Dx-0004tmC.cygnus.gnu-win32@curry.cse.ogi.edu>
Original-To: Jeremy Allison <jra@cygnus.com>
Original-cc: chris@calligrafix.co.uk, gnu-win32@cygnus.com
In-reply-to: Your message of "Tue, 03 Dec 1996 15:35:01 PST."
             <199612032335.PAA26370@cygnus.com> 
Original-Sender: owner-gnu-win32@cygnus.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@cse.ogi.edu

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
