Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed inappropriate use of SerialTaskQueue from ClusterShapeLazyGetter
A SerialTaskQueue was added to ClusterShapeLazyGetter in an attempt to make it thread safe. Unfortunately, the implementation was not safe since the internals of SiPixelClusterShapeCache could be changed while another thread was reading the data outside of the queue. In addition, performance measurements done using VTune showed the fequent calls to SerialTaskQueue were causing a heavy CPU load when run with 8 threads. The thread safety of SiPixelClusterShapeCache will have to be handled in a different way in the future once we start using more than one thread per Event.
- Loading branch information