#2170: pthread_mutex_trylock() erroneously returns EDEADLK --------------------------+---------------------------- Reporter: nick.withers | Owner: joel.sherrill Type: defect | Status: new Priority: normal | Milestone: 4.11 Component: cpukit | Version: HEAD Severity: normal | Resolution: Keywords: | --------------------------+----------------------------
Comment (by nick.withers): Wait... No, that's not going to work. pthread_mutex_lock() should return EDEADLK for CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED if the mutex's already locked and pthread_mutex_trylock() should return EBUSY - so they presumably need to return different POSIX codes for the same RTEMS code? -- Ticket URL: <http://devel.rtems.org/ticket/2170#comment:4> RTEMS Project <http://www.rtems.org/> RTEMS Project _______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs