www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/28/16:19:26

Date: Sat, 28 Mar 1998 10:40:24 -0800 (PST)
Message-Id: <199803281840.KAA16547@adit.ap.net>
Mime-Version: 1.0
To: Raul <e36531491 AT omega DOT uab DOT es>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: How does signals work on djgpp?

At 12:25  3/27/1998 +0100, Raul wrote:
>
>I have made a example program for testing signals. I call alarm() and a
>SIGALRM signal is suposed to be generated, but no signal y raised at all.
>Why?
>What does pause() do on djgpp? How can I wait for a signal?

`pause' only gives up your current timeslice and then returns. You could do
`while(1) pause();', or you could use `sleep' for a very long time.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019