[mercury-users] parallel grades in windows

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Oct 25 12:11:29 AEDT 2010


Hi,

On Sat, 23 Oct 2010, Sergey Khorev wrote:

>> Dining philosophers run without crashes, slowly consuming memory.
>>
>> So it seems it is Boehm GC that causes the problem.
>
> Another update. Actually Boehm GC works ok, it is configure which
> passes incorrect flag (it should be GC_WIN32_PTHREADS rather than
> GC_WIN32_THREADS.

Defining GC_WIN32_THREADS is the correct thing to do if you want to use
native Win32 threads;  you are correct that it should be
GC_WIN32_PTHREADS if you using one of the libraries that provides POSIX
threads on Windows.

I will add an option to the configure script that allows the latter to
be selected at configuration time.

Julien.
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list