Critical section

Godzil godzil at godzil.net
Tue Jun 27 14:58:06 CEST 2006


I may need to have critical section in my code (to make some part  
atomic like sending to mailbox or things like that)

It seem like rt_sched_lock and rt_sched_unlock only make the system  
crash.

What should I take care with using this two function ?

I think that linux call are stricly forbiden since the scheduler is  
needed for hard/soft changing.

Does anything else to take care ?

Thanks

Manoel




More information about the Rtai mailing list