Registered Member
|
Hi,
Thanks for your great work! I'm not sure about one thing: Is Eigen thread-safe? I mean if I take care myself not to read and write on the same elements. Can I use multiple threads to read elements in parallel in the same matrix ? And can I write elements in the same matrix if I take care to never edit the same element at the same time ? I ask this as my code, that was stable, now crashes randomly after I introduced multi-threading, and I cannot find the reason for it now. Thanks |
Registered Member
|
Yes it is, in that sense.
Yes, just like reading from any plain buffer.
Yes, assuming you're not at the same time reading from a part you're overwriting in another thread, for the same reason, plain buffer.
I can't either
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered Member
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]