Owned semaphore server, client and stand-alone implementations