You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refs http://trac.mantidproject.org/mantid/ticket/4516: It is possible to have destructive access to a workspace (via the PlusMD algorithm, for example), while the GUI thread is busy accessing it to draw it.
We can prevent segfaults by either: implementing a "busy" flag on workspaces, or by using Multiple-Reader/Single-Writer locks.
Original Reporter: @jzikovsky
Original Owner: @jzikovsky
Refs http://trac.mantidproject.org/mantid/ticket/4516: It is possible to have destructive access to a workspace (via the PlusMD algorithm, for example), while the GUI thread is busy accessing it to draw it.
We can prevent segfaults by either: implementing a "busy" flag on workspaces, or by using Multiple-Reader/Single-Writer locks.
http://stackoverflow.com/questions/989795/example-for-boost-shared-mutex-multiple-reads-one-write
Investigate.
Edit: Here is a sample script that could cause segfaults if using GUI views on the MDW workspace while the loop runs:
The text was updated successfully, but these errors were encountered: