Skip to content

SGTools: Lock t2p map

Scott Snyder requested to merge ssnyder/athena:t2p.SGTools-20200206 into master

Add a mutex to protect the t2p map.

The t2p map is referenced from both DataStore and DataProxy. While both of those have locks, the t2p map could be accessed from both simultaneously, so it needs its own lock.

If the locking here takes significant time, we can think about doing this differently, but try the simple thing first.

See ATEAM-593.

Merge request reports