[libdispatch-dev] Windows compatibility

Mark Heily mark at heily.com
Fri Sep 25 13:44:20 PDT 2009

Robert Watson wrote:
> On Tue, 15 Sep 2009, Brent Fulgham wrote:
>> I have some interest in seeing this ported to Windows as well, though
>> it may end up being so different under the covers that it only shares
>> an API with this project.
>> I do think there would be some value in doing so; I am seeking to use
>> libdispatch in some software we ship at work, which unfortunately must
>> continue to work on Windows.
> This is my intuition also: I think you'd want to have an entirely
> independent implementation using native Windows primitives, and simply
> give it the same (or similar) API on top.

Has anyone considered using the Apache Portable Runtime (APR)? They have many
portable goodies including lock-free FIFO queues and thread pools. If
libdispatch was rewritten to use APR instead of POSIX interfaces, it should
work fine on Windows.

  - Mark

More information about the libdispatch-dev mailing list