[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 21:51:12 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20061207 Thunderbird/ Mnenhy/

Christian Anthon wrote:
> Hi Jon,
> the code didn't compile without some changes (attached). What do you
> mean by doesn't work. What am I to look for (errors in evaluations,
> crashes or ...)?

The g_atomic* calls in MT_Lock/Release just didn't work - with 2 threads
the count was getting too high/low causing the threads to lock.  Given
that I just changed the 3 lines which were equivalent windows calls,
they must not work as expected - maybe you'll have more luck with your
version of glib on linux.


Ps. I'll check in the changes you attached.

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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