[libdispatch-dev] Experimental Pthread Work Queue Support for FreeBSD

David Leimbach leimy2k at gmail.com
Tue Dec 15 11:26:31 PST 2009


I think Robert Watson has already done this?

My understanding is that 8-STABLE supports this.

Am I wrong?

Dave

On Tue, Dec 15, 2009 at 8:09 AM, Stacey Son <sson at freebsd.org> wrote:

> Hi All,
>
> Just in time for the holidays I have created a couple of patches for
> FreeBSD-Current to add apple-like pthread workqueues.   You can find the
> patches at:
>
>        http://people.freebsd.org/~sson/thrworkq/
>
> The first patch (kern_thrworkq_*.diff) adds the kernel support and
> thr_workq() system call.  To compile it into the kernel "options THRWORKQ"
> needs to be added to the kernel config file.  The second patch
> (pthread_workqueue_*.diff) is for the libthr code and adds the
> pthread_workqueue_*_np() functions.  (See
> http://people.freebsd.org/~sson/thrworkq/pthread_workqueue.3.txt for the
> man page.)   I have only done a limited amount of testing so I am sure there
> are bugs.   Any questions, comments, bug reports, and/or patches are
> welcomed.
>
> Thanks,
>
> -stacey.
> _______________________________________________
> libdispatch-dev mailing list
> libdispatch-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/libdispatch-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-dev/attachments/20091215/35fcc4a9/attachment.html>


More information about the libdispatch-dev mailing list