Re: Code at "real-time priority"

On Wed, Mar 05, 2003 at 09:12:05PM -0500, Kenneth Jacker wrote:
> I'm using RTAI modules and COMEDI.
> 
> "linux/comedilib.h" contains the following:
> 
>   /* these functions may not be called at real-time priority */
> 
>   comedi_t *comedi_open(const char *path);
>   int comedi_close(comedi_t *dev);
>   ... ... ...
> 
> 
> What is meant by the phrase "at real-time priority" ... from a
> task/thread?  If so, at what priority does "init_module()" run?

init_module() runs at normal kernel priority, or to be specific,
user-process-in-kernel-context priority.

The casual user will almost always call comedi_open() inside
init_module().  And likewise, comedi_close() in cleanup_module().



dave...

Received on 2003-03-06Z03:24:25