Re: Multithreaded comedi

On Wed, Mar 19, 2003 at 03:39:10AM -0500, William T Wilson wrote:
> Can I use Comedi safely from multiple threads (using native/kernel
> threads)?  Or must I confine all my Comedi calls to the same thread?

I know of a few places in the Comedilib code that are not
thread-safe, such as the internal initialize() function and
the subdevice->cmd_timed caching of the return value of
comedi_get_generic_timed().  However, for the most part,
Comedilib doesn't do overtly stupid thread-unsafe stuff, so
feel free to assume it is thread-safe, and complain when it
breaks.



dave...

Received on 2003-03-19Z17:59:58