Skip to content
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

CSignal not thread safe #1425

Closed
tklein23 opened this issue Aug 15, 2013 · 0 comments
Closed

CSignal not thread safe #1425

tklein23 opened this issue Aug 15, 2013 · 0 comments

Comments

@tklein23
Copy link
Contributor

Running "valgrind --tool=helgrind" on multithreaded shogun binaries gives a lot of warnings related to CSignal:

==19506== Possible data race during write of size 1 at 0x70E2C51 by thread #6
==19506== Locks held: none
==19506== at 0x640EFD7: shogun::CSignal::clear_cancel() (Signal.cpp:130)
==19506== by 0x5E6F5A6: shogun::CLibLinear::train_machine(shogun::CFeatures_) (LibLinear.cpp:80)
[...]
==19506== This conflicts with a previous read of size 1 by thread #7
==19506== Locks held: none
==19506== at 0x5E4FFD5: shogun::CSignal::cancel_computations() (Signal.h:94)
==19506== by 0x61063B6: shogun::CDotFeatures::dense_dot_range_helper(void_) (DotFeatures.cpp:269)
[...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants