[Top][All Lists]

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

Re: FW: [Bug-gnubg] Simple multi-threading... Cache/locking...

From: Jonathan Kinsey
Subject: Re: FW: [Bug-gnubg] Simple multi-threading... Cache/locking...
Date: Fri, 02 Feb 2007 19:09:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20061207 Thunderbird/ Mnenhy/

Jonathan Kinsey wrote:
> I can tidy the code up and check it in (probably at the weekend), I'm
> not sure if unix/glib has an equivalent for the InterlockedIncrement
> function.

I've just checked it in and am happy with the windows code (both with
msdev and mingw), not so sure about the gcc/linux side of it - I've
added the required code but it didn't seem to work here (the inc/dec
functions didn't appear to be atomic - or I made a mistake...).

Anyone who wants to check it works is more than welcome...  I'm using
SSE and not REDUCTION_CODE.  The results should be the same as before my
changes but there may be very slight differences (caused by the removal
of the 'frombase' eval optimisation) - differences when running with
different number of threads are obviously a problem.


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]