[libdispatch-dev] libdispatch port to FreeBSD (was: [libdispatch-changes] [27] trunk/src)

Robert N. M. Watson robert at fledge.watson.org
Mon Sep 14 14:43:05 PDT 2009


On 14 Sep 2009, at 22:38, Dennis Schafroth wrote:

> On Mon, 2009-09-14 at 21:05 +0100, Robert Watson wrote:
>>
>> - The lack of kqueue support is the critical obstacle in a port to  
>> Linux.  It
>>   may be that a kqueue emulation library based on epoll (or even  
>> libevent)
>>   could fill this gap.  If someone wants to look at this, pay very  
>> careful
>>   attention to kqueue semantics, as libdispatch relies on them  
>> heavily.
>
> That was also my thought after some initial poking in the code. I did
> stuble on a Linux API (Net:Kevent) today but haven't looked into it
> yet.
>
> I am not a hardcore linux coder, but would like to get involved in
> this.

Just waving my hands at this point, but: if it were possible to  
accomplish a lot of this with libevent or an enhanced version of  
libevent, it would give us greater portability to other OS's,  
including Opensolaris.

Robert



More information about the libdispatch-dev mailing list