Hi, semtimedop() performs a semaphore operation and if the operation cannot be performed immediately, then the function blocks until the timeout expires. The current Linux implementation loads the timeout immediately, even if the operation doesn't block. As explained in the OpenSolaris sources, this is not needed. The attached patch changes the Linux code. The patch is trivial, but not tested. It shrinks the .text size by 32 bytes on x86. -- Manfred