Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ub!galileo.cc.rochester.edu!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!ls1i+ From: ls1i+@andrew.cmu.edu (Leonard John Schultz) Newsgroups: comp.unix.sysv386 Subject: semop strangeness Message-ID: Date: 20 Jun 91 23:03:48 GMT Organization: Class of '92, Carnegie Mellon, Pittsburgh, PA Lines: 12 When I execute semop and the process blocks due to the semaphore operation and I receive a signal, the block is always stopped. This does not seem correct to me. Even when the flags are set to SA_RESTART, the wait on the semaphore is never continued. Is this a bug or a feature? If I am waiting on a semaphore, I do not want to break out whenever I recieve a signal. I know it is possible to catch the reason why it broke out and then restart the semop, but that seems like a kludge. Do you understand my complaint? If not, I can supplya simple example that shows the bug. Len Schultz