Hi, I've tried the new semaphores and they seem to work fine except that errno is not properly set as Ross said. I'm confused about the "pshared" attribute though. Should it not be != 0 if the semaphore is to be shared between processes/treads ? W.k.r. Michael Ambrus