Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 gamma 3/27/83; site cbosg.UUCP Path: utzoo!linus!decvax!genrad!mit-eddie!mit-vax!eagle!mhuxt!mhuxi!cbosgd!cbosg!dale From: dale@cbosg.UUCP Newsgroups: net.bugs.4bsd,net.unix-wizards Subject: Re: sleep() Message-ID: <2902@cbosg.UUCP> Date: Tue, 12-Jul-83 10:11:31 EDT Article-I.D.: cbosg.2902 Posted: Tue Jul 12 10:11:31 1983 Date-Received: Wed, 13-Jul-83 08:15:19 EDT Organization: Bell Labs, Columbus Lines: 5 Another possibility we have used for years, is to make pause() return immediately with an error condition if there is no alarm outstanding. This has the disadvantage of not being able to do a pause for another signal unless an alarm is also set, but is not an undue restriction and eliminates all race conditions.