process management

sebastian ssmoller sebastian.ssmoller at gmx.net
Wed Nov 17 22:05:41 UTC 2004


hi,
are rtems tasks similar to unix processes in the way that they have
their own address space?

i mean: imagine i have two tasks A and B with A has lower prio than B.
now A starts working. it enters a rather long function and while being
in there it is preempted by B. B enters that function too. now A and B
execute "theoretically" the same code. 
what happens to local variables? are they protected? means: does A and B
have separate copies of local variables?
furthermore: is it possible to create two different tasks (by rtems_id)
using the same "entry point" (function code) ?

thx
regards,
seb

-- 
"Perfection is achieved, not when there is nothing left to add, 
but when there is nothing left to take away."  
--- Antoine de St. Exupery, Wind, Sand, and Stars, 1939 



More information about the users mailing list