libdispatch

Discussion of chess software programming and technical issues.

Moderator: Ras

zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

libdispatch

Post by zullil »

Wondering if anyone might be interested in modifying a multi-threaded engine (say, Crafty) to use libdispatch.

Not being a programmer, I'm not sure how difficult this would be.

The libdispatch project consists of the user space implementation of the Grand Central Dispatch API as seen in Mac OS X version 10.6 Snow Leopard.
http://libdispatch.macosforge.org/
abulmo
Posts: 151
Joined: Thu Nov 12, 2009 6:31 pm

Re: libdispatch

Post by abulmo »

zullil wrote:Wondering if anyone might be interested in modifying a multi-threaded engine (say, Crafty) to use libdispatch.
As far as I understand, libdispatch provide an asynchronous multi-threaded library. In parallel search, most of the algorithms (YBWC, etc.) use synchronous multi-threading. So, I do not think the libdispatch library is compatible with parallel search as used in chess engines, except maybe for some peculiar tasks like event handling.

--
Richard
Richard