[mercury-users] parallel grades in windows

Sergey Khorev sergey.khorev at gmail.com
Wed Oct 27 15:10:05 AEDT 2010


> 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.

Does Mercury support native Win32 thread API at all? I was not able to
find either of _beginthreadex or CreateThread in the sources.

And, if it just about using thread-safe Boehm GC, it automatically
defines GC_WIN32_THREADS if GC_WIN32_PTHREADS is defined.

--------------------------------------------------------------------------
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