Changeset 3ad5f86 in rtems

Timestamp:
06/03/16 06:15:21 (8 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
214156d
Parents:
a2f91f6
git-author:
Sebastian Huber <sebastian.huber@…> (06/03/16 06:15:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/06/16 10:57:07)
Message:

rtems: Fix no protocol mutex release

The Classic binary semaphores without a locking protocol
(RTEMS_BINARY_SEMAPHORE) could be released by everyone, e.g. in contrast
to the POSIX mutexes (all variants) or the Classic binary semphores with
priority inheritance or ceiling, there was no owner check in the release
path.

This behaviour was a bit unexpected and not documented. Add an owner
check to the release path. Update sptests/sp42 accordingly.

This change has nothing to do with the simple binary semaphores
(RTEMS_SIMPLE_BINARY_SEMAPHORE) which have no owner at all.

Update #2725

(No files)

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