[rtems commit] condwaitsupp.c: Return EPERM if waiting and mutex is not locked

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Dec 10 07:58:27 UTC 2013


On 2013-12-10 02:46, Joel Sherrill wrote:
> Module:    rtems
> Branch:    master
> Commit:    327fbd6df749c64c9896b61cb7caa80db347df00
> Changeset: http://git.rtems.org/rtems/commit/?id=327fbd6df749c64c9896b61cb7caa80db347df00
>
> Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
> Date:      Mon Dec  9 15:25:16 2013 -0600
>
> condwaitsupp.c: Return EPERM if waiting and mutex is not locked
>
> This error check was commented out because it is not in the POSIX
> specification. However, the GNU/Linux manual page does document
> that EPERM is to be returned in this situation.

It would be nice to have a test case for this.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list