question about preemption

Eugeny S. Mints emints at ru.mvista.com
Thu Sep 16 11:55:57 UTC 2004


Hi Manuel,

Manuel Pedro Coutinho wrote:
> Hi
> 
> I would like to know if a task which is in a system call (like an device 
> driver call) can be preempted
> in the RTEMS

RTMES in not Linux:)) First of all there are no "kernel"
and "user" mode in RTEMS. Thus there is no such concept as
"system call" similar to Linux.  RTEMS  uses preempting scheduling based 
on priorites
what means that if a task gets ready and it's priority is higher than 
priority of currently running task, current
task is preempted (the only exception is if preemption is explicitly 
disabled).

		Eugeny

> thanks
> 
> _________________________________________________________________
> MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
> 
> 
> 





More information about the users mailing list