[Nut-upsdev] Threads

Charles Lepple clepple at gmail.com
Sat Jun 26 02:23:35 UTC 2010


On Fri, Jun 25, 2010 at 3:21 AM, Kiss Gabor (Bitman)
<kissg at ssg.ki.iif.hu> wrote:
> I'm thinking about writing a multithreaded driver.
> I wonder if library routines (like dstate_*) are thread-safe?

I can't speak for the other NUT developers, but I would prefer that we
not open that can of worms.

Most hardware can't handle multithreaded access without some sort of
mutex, so I am not sure I see why the driver should be multithreaded.

Can you explain a little more about this driver?

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list