diff options
author | Gedare Bloom <gedare@rtems.org> | 2015-02-24 10:27:08 -0500 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2015-02-25 15:00:41 -0500 |
commit | c0e01a28dad77063d8edb7f7fe2cee83a5f09b2e (patch) | |
tree | 0bd42e474de34b2432828be90c00c766c2015e07 /testsuites/sptests/sp76/init.c | |
parent | Panic on RTEMS_FAST_MUTEX network semaphore claim/release. (diff) | |
download | rtems-c0e01a28dad77063d8edb7f7fe2cee83a5f09b2e.tar.bz2 |
posix: fix error return code for pthread_mutex_trylock
pthread_mutex_trylock() should return EBUSY if the mutex is already
locked. The translations of CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED is
EDEADLK which is correct for pthread_mutex_lock(). This fixes the
translation for trylock.
Closes #2170.
Diffstat (limited to 'testsuites/sptests/sp76/init.c')
0 files changed, 0 insertions, 0 deletions