nanosleep blocks inifinity (internal rtems deathlock?) even CPU is in idle Task

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Nov 15 10:52:35 UTC 2012


On 11/15/2012 10:44 AM, Matthias Goldhoorn wrote:
> Hello Again,
> new Problem i got the debugger working (will port it later to the wiki, needed
> adaptations for the compiler and mentioned scripts).
>
> It seems there is an bugg inside of rtems. My Code calls nanosleep and never
> returnes from there.
> My main-cread is idling, so there is no higher priority process running. I
> wonder why my thread which has called nanosleep never returns...
> Any suggestions?

Do you have a clock driver configured, e.g.

#define CONFIGURE_INIT

#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER

[...]

#include <rtems/confdefs.h>

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
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 users mailing list