Changeset c0e01a28 in rtems for doc


Ignore:
Timestamp:
02/24/15 15:27:08 (9 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, 5, master
Children:
bd1c9248
Parents:
ee870077
git-author:
Gedare Bloom <gedare@…> (02/24/15 15:27:08)
git-committer:
Gedare Bloom <gedare@…> (02/25/15 20:00:41)
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.