#5336: pthread_mutex_trylock() hangs --------------------------+------------------------------------------------- Reporter: kaliber | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/POSIX | Version: R1/Development Keywords: | Blockedby: Platform: All | Blocking: --------------------------+------------------------------------------------- If a mutex is already locked, pthread_mutex_trylock() should return EBUSY instead of hanging. Specification: http://www.opengroup.org/onlinepubs/000095399/functions/pthread_mutex_lock.html Test case: http://posixtest.cvs.sourceforge.net/viewvc/posixtest/posixtestsuite/conformance/interfaces/pthread_mutex_trylock/4-1.c?revision=1.2&view=markup -- Ticket URL: <http://dev.haiku-os.org/ticket/5336> Haiku <http://dev.haiku-os.org> Haiku - the operating system.