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

Joel Sherrill Joel.Sherrill at OARcorp.com
Tue Dec 10 13:43:45 UTC 2013


I was adding it as a GCI  task. Hopefully I won't never to write it. :)

On Dec 9, 2013 11:56 PM, Sebastian Huber <sebastian.huber at embedded-brains.de> wrote:
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20131210/be11d946/attachment-0001.html>


More information about the devel mailing list