-
Notifications
You must be signed in to change notification settings - Fork 10
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
Not Default-compileable on Windows #26
Comments
the actual output from the compiler on windows after fixing CLOCK_MONOTONIC |
Edit: i got the compiler to work for windows by altering the whole code to use windows calls. if someone more proficient would be able to integrate them and make them an actual switch rather then hard alteration let me know... ill make a PR for the changes once i confirm results are as expected |
coming to think of it, it would/could be better to migrate the thpool.c into thpool_win and just generate a switch for windows to use that instead of the original? |
I have attempted to compile this on a windows32 system, but multiple issues occur:
CLOCK_MONOTONIC_RAW does not exist. this was an easy fix, as CLOCK_MONOTONIC works fine and was already suggested in a PR for UBUNTU
Threading:
pthread_setname_np is not supported on this system occurs for any non-linux or non-macos builds.
maybe i should look into SetThreadDescription(GetCurrentThread(), threadName) == S_OK) as option
will continue if needed.
is there someone that is good in making this work for windows?
The text was updated successfully, but these errors were encountered: