Skip to content
Snippets Groups Projects
Forked from atlas / athena
Source project has a limited visibility.
user avatar
sutt authored
When running in multithreaded mode the scheduler vedry likely does not respect the proper use of the ReadHandle method with no RedHandleKey - a call to ReadHandle might return the collection before it has been produced leading to a corrupt collection when the requesting algorithm accesses the ReadHandle.

In practicem, such a ReadHandle call should lock until the collection has been produced, else it is not thread safe, and this call can not work.
However, as a workaround, we add a dummy ReadHandleKey that, once initialised, should mean that the scheduler only executes the monitoring after the tracking has completed - the actual ReadHandle call does not need to use this RHKey.

This partly addresses ATR-25821
3544764b
History
Name Last commit Last update