Re: Comedi test driver

On Tue, 16 Jul 2002, Calin A. Culianu wrote:

>
> I noticed this driver uses the linux kernel timer mechanism to simulate
> comedi_cmd's.  My question is this:  is it possible to call comedi_cmd()
> on this driver from a realtime thread?  My (perhaps unfounded) fear is
> that maybe the linux kernel routines that setup the timer and whatnot
> aren't realtime-compatible?  At least, will the kernel crash if you call
> add_timer() from a realtime thread?
>

You should be fearful when using hard RT stuff.  add_timer() is not safe
to call from RT priority.

Frank

Received on 2002-07-16Z23:27:14