-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/mingw pthread #296
base: develop
Are you sure you want to change the base?
Fix/mingw pthread #296
Conversation
@viboes Do you know what causes "The system cannot find the batch label specified - Config_VC12"? Apparently it is a batch file issue, so I guess it is not related to this PR. |
The original code defaults to |
The |
The 2017 failure is caused by a path being too long; the option |
cceb155
to
618de58
Compare
@pdimov From the rule's name (
|
618de58
to
e5d50b4
Compare
The failure reported by Travis seems to be related to visibility:
The Appveyor fails are multiple:
@pdimov I will need your help once again! Needless to say I have no idea what is going on 😅 |
I see nothing visibility-related in the Travis failure. |
The msvc-14.0 failure is this:
The Cygwin/mingw jobs are timing out at 1h30m. These things need a look-over by the maintainer. None of the failures seem caused by your changes, but until develop is green on Travis and Appveyor, it will be hard to tell. |
According to MinGW pthread source code, the monotonic clocks are not supported.
I've added a patch to not use monotonic clocks with MinGW + pthread, and to not trigger an assertion when calling From what I understand from the implementation, they are not supported. I didn't want to fiddle to much with the preprocessor directives, so right now the user has to define If you have a better way I'm all ears! |
Hello,
I've been trying to use Boost.Thread while cross-building from Linux to Windows, using mingw-w64, and stumbled upon the issue mentioned in #157. I tried to solve it without breaking compatibility.
Also,
getpagesize
andsysconf
are not available when using MinGW, so I used GetSystemInfo to retrieve the page size.