-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
sharedlists/sharedtables modules need threads option #18185
Conversation
This reverts commit 7ef364a.
std/sharedtables should still work without --threads:on, and |
So what about rlocks module, it is very inconsistent. locks doesn't require threads options So a module cannot switch from lock to rlock or add rlock support easily. |
maybe that's what should be fixed? I can look into it more tmrw if needed |
* Revert "add missing import to asynchttpserver's example" This reverts commit 7ef364a. * alternative to nim-lang#18185 * add std/mutexes * cvlose nim-lang#17696 * Revert "add std/mutexes" This reverts commit 69abc8b. * tiny * test * improve terminal docs * follow advice
Close #18206
Ref #12231
Ref #12330
It might break things(CI should tell us a bit about it). I'm thinking that using RLock in SharedTable object may help #18176. It that's true, we have to break things or think of other ways.