We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See nim-lang/Nim#23485
Inside ntu.nim:
ntu.nim
When spawing new threads, a ThreadPayload is given. This ThreadPayload contains a ref type, TestSpec. This is not allowed.
ThreadPayload
TestSpec
The test: TestSpec variable is shared between the 2 threads and could lead to crashes as ref do not use atomic reference counting.
test: TestSpec
ref
This can lead to flaky tests.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See nim-lang/Nim#23485
Inside
ntu.nim
:When spawing new threads, a
ThreadPayload
is given. ThisThreadPayload
contains a ref type,TestSpec
.This is not allowed.
The
test: TestSpec
variable is shared between the 2 threads and could lead to crashes asref
do not use atomic reference counting.This can lead to flaky tests.
The text was updated successfully, but these errors were encountered: