Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!techunix.BITNET!devil From: devil@techunix.BITNET (Gil Tene) Newsgroups: comp.unix.wizards Subject: pause() reliability problems. Message-ID: <9742@discus.technion.ac.il> Date: 8 Jul 90 08:32:20 GMT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: devil%techunix.bitnet@jade.berkeley.edu (Gil Tene) Organization: Technion, Israel Inst. Tech., Haifa Israel Lines: 23 Hello unix folk, I am having some trouble with process sync. on SunOS 4.0.3... I am using signals (have no other choise, message queues don't give me the ability to interrupt a process), and pause() on the "other" end to wait for signals to arrive. I am running into a problem where pause() will sometimes continue pausing, even though a signal occured, and it's signal handler has run... This causes deadlocks which can only be taken care of by kill from another process. When I kill -30 the process that pauses, it comes out of the pause and everything is fine again, until the next deadlock... Is this reliability problem of pause() known ? is it a problem in SunOS, or general unix, BSD, and SysV? Any ideas on how to solve this? AdvThanks, Gil. -- -------------------------------------------------------------------- | Gil Tene "Some days it just doesn't pay | | devil@techunix.technion.ac.il to go to sleep in the morning." | --------------------------------------------------------------------