B20.1: Setitimer provides virtual timer?

Fergus Henderson fjh@cs.mu.OZ.AU
Tue Aug 31 23:49:00 GMT 1999

On 12-Aug-1999, chikayama@klic.org <chikayama@klic.org> wrote:
> "setitimer(ITIMER_VIRTUAL, ...)" does not seem to deliver SIGVTALRM
> signals.  The test program included below, that sets the process timer
> and loops awaiting for timer expiration, will loop forever.  However,
> running this in background and sending the signal by "kill -VTALRM ..."
> from the shell will terminate it as expected (with an exclamation mark 
> output).
> Is this the spec. of the current release or a bug?

The former, I think. 

Last time I checked, only ITIMER_REAL/SIGALRM was supported.
ITIMER_VIRTUAL and ITIMER_PROF were not yet implemented.

Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: < http://www.cs.mu.oz.au/~fjh >  |  of excellence is a lethal habit"
PGP: finger fjh@        |     -- the last words of T. S. Garp.

Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list