tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Equivalent of Linux Workqueues



Hi,

On Wed, Jan 11, 2012 at 11:24 AM, Emmanuel Dreyfus <manu%netbsd.org@localhost> 
wrote:
> Hello
>
> Another caveat with DADHI porting: that require something like
> Linux Workqueues feature:
> http://www.kernel.org/doc/htmldocs/device-drivers/ch01s06.html
> (It only uses schedule_work, cancel_work_sync and flush_work).
>
> This is about queuing function execution, cancel it, or wait for it
> to complete,  Do we have something similar in our kernel, or should
> I implement a dedicated thread with a queue of functions to run?

NetBSD has [1], I'm not sure if that's enough for you.

[1] http://netbsd.gw.com/cgi-bin/man-cgi?workqueue++NetBSD-current


>
> --
> Emmanuel Dreyfus
> manu%netbsd.org@localhost



-- 


Regards.

Adam


Home | Main Index | Thread Index | Old Index