After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697626 - Allow posix threads to be used on w32
Allow posix threads to be used on w32
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: win32
2.36.x
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-win32 maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-09 10:06 UTC by LRN
Modified: 2013-04-09 12:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Allow POSIX threads to be used if --with-threads=posix (2.01 KB, patch)
2013-04-09 10:07 UTC, LRN
none Details | Review
win32: Allow POSIX threads to be used if --with-threads=posix (2.76 KB, patch)
2013-04-09 12:10 UTC, Alexander Larsson
committed Details | Review

Description LRN 2013-04-09 10:06:07 UTC
Right now --with-threads=posix doesn't really work on W32, because the condition used for choosing the right source file to compile is just OS_WIN32.
Comment 1 LRN 2013-04-09 10:07:30 UTC
Created attachment 241046 [details] [review]
Allow POSIX threads to be used if --with-threads=posix

Patch against 2.36.0

All tests pass with this patch AND a good pthreads implementation (i'm using winpthreads, not pthreads-w32).
Comment 2 Alexander Larsson 2013-04-09 12:10:14 UTC
Created attachment 241053 [details] [review]
win32: Allow POSIX threads to be used if --with-threads=posix

All tests pass with this patch AND a good pthreads implementation
(i'm using winpthreads, not pthreads-w32).
Comment 3 Alexander Larsson 2013-04-09 12:10:42 UTC
Attachment 241053 [details] pushed as 2ca9dda - win32: Allow POSIX threads to be used if --with-threads=posix