[Bug 2170] New: pthread_mutex_trylock() erroneously returns EDEADLK

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Feb 5 01:38:59 UTC 2014


https://www.rtems.org/bugzilla/show_bug.cgi?id=2170

             Bug #: 2170
           Summary: pthread_mutex_trylock() erroneously returns EDEADLK
    Classification: Unclassified
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: nick.withers at anu.edu.au


By The Open Group Base Specifications Issue 6, pthread_mutex_trylock() should
return EBUSY if the lock is already held (
http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_mutex_lock.html
).

On RTEMS 4.11, it instead returns EDEADLK

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list