Can a thread use message communication as well as one-shot timers?
mantegazza at aero.polimi.it
Fri Oct 12 09:04:03 CEST 2007
Aref Taidi wrote:
> Hello everyone,
> I have a hard realtime user space thread that uses rt_receivex() to
> receive messages from other threads. I would also like to start a
> oneshot timer from this thread to check things out every second, so that
> in between the thread can receive messages.
> Following some examples in the showroom I make the following calls with
> appropriate parameters (omitted below) in this order:
> rt_task_use_fpu(netman_task, 1);
> But the above causes the PC to hang needing a reboot. But if I don't use
> the last 3 function calls everything works, but I won't have a timer!!
> Please can someone tell me what I am doing wrong?
Difficult to say. The flow is important but the call params might be
relevant too. Since it seems you are testing something simple senda
small test showing your troubles, as usual.
> Many thanks in advance,
> RTAI mailing list
> RTAI at rtai.org
More information about the Rtai