-
Notifications
You must be signed in to change notification settings - Fork 19
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
Incompatibility with pthreads #12
Comments
Fixed in 48920be, will confirm that it is safe and correct, then release a patch. |
Released as v1.1.2 ✨ |
Awesome, thank you very much! Running the "Reproducing Code" from above will issue the following warning now though:
|
I'll get on that asap, thanks for the report. |
Hi @rtheunissen ... I read the libmpdec source, it actually does require that contexts are truly global, I committed to both your active branches the fixes for that, hope I didn't make a mess of logs or do it badly ... @LuckyFellow leaving this for you to close ... |
@krakjoe @LuckyFellow I've fixed this a little bit differently in b211485 which has been released as part of 1.2.0. Thanks for your help with this one Joe. 🙏 I'll wait for confirmation before we close this. |
I can confirm, that there is no warning issued anymore and the operations function properly. Thank you very much! |
Environment
Summary
Without threads, operations work as expected.
As soon as operations are performed in a seperate thread, some result in "INF".
Reproducing Code
Expected Output
Actual Output
The text was updated successfully, but these errors were encountered: