Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!oliveb!sun!gorodish!guy From: guy@gorodish.Sun.COM (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: Trouble killing processes in SysV/AT Message-ID: <51773@sun.uucp> Date: 3 May 88 17:30:55 GMT References: <3950@killer.UUCP> <3951@killer.UUCP> <468@micropen> <51443@sun.uucp> <347@cloud9.UUCP> Sender: news@sun.uucp Lines: 9 > In article <51483@sun.uucp>, guy@gorodish.Sun.COM (Guy Harris) writes: > > > >If the sleep priority is above PZERO, the [signalled] sleep() will return > > > >an error corresponding to "I was interrupted!". > > > > > Sun [and AT&T created PCATCH to allow interrupting sleeps below PZERO] Like hell I wrote that! AT&T created PCATCH to allow a module that sleeps *ABOVE* PZERO to be notified when it gets interrupted out of the "sleep", so that it can clean things up. It was not created "to allow interrupting sleeps below PZERO"; in fact, it *DOESN'T* "allow interrupting sleeps below PZERO".