boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
199 stars 161 forks source link

Fixing compiling on VS2017 for ARM & ARM64 #234

Closed DjArt closed 5 years ago

DjArt commented 5 years ago

https://github.com/boostorg/thread/issues/233

viboes commented 5 years ago

I've finished by accepting the PR.

The result of the function is used always by testing if it is != 0. So the cast should not make the things worst. I'd appreciate a PR for the static assert on the equality of the size of the types.