On 08/08/2014 10:10 PM, Joel Sherrill wrote:
Hi

This is a belated response to a comment from Sebastian where he
said you shouldn't call malloc() or rtems_workspace_allocate()
from a create extension.
[...]

It is fine to use malloc() or rtems_workspace_allocate() in the create extension.

http://www.rtems.org/onlinedocs/doxygen/cpukit/html/group__ScoreUserExt.html#ga6e0af3d698d5b72c947eb0c6552e4193

It is not allowed in the context switch extension.

--
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.hu...@embedded-brains.de
PGP     : Public key available on request.

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

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to