#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):
Aha - thanks for the pointer!
cpukit/posix/src/mutextranslatereturncode.c:26:
EDEADLK, /* CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED */
That'll be the one. I've gotta do some running around for the next hour or
so, but I'll change that to:
EBUSY, /* CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED */
and see if that sorts it.
--
Ticket URL: <http://devel.rtems.org/ticket/2170#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs