[PATCH 5/8] score: Add self-contained mutex implementation

Sebastian Huber sebastian.huber at embedded-brains.de
Sat Jul 25 09:49:44 UTC 2015


----- Gedare Bloom <gedare at gwu.edu> schrieb:
> What, if any, guidance do we need to give to users about these new
> implementations?

We should mention that they are used for the Newlib internal locks.  I would make the available to the users via the C11 thread library:

http://en.cppreference.com/w/c/thread

Here is a reference implementation which we may use and adjust:

https://github.com/freebsd/freebsd/tree/master/lib/libstdthreads

Enabling the Newlib internal locks will put some pressure on us to provide better support for nested locks with priority inheritance.

-- 
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