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
CoCo and SRGViz use extensively mutexes and in particular we employ boost::shared_mutex (now in C++17) for supporting in particular lock upgrades. Unfortunately these mutexes are quite heavyweight as shown from tests online (https://www.arangodb.com/2015/02/comparing-atomic-mutex-rwlocks/).
We should evaluate to introduce the use of RWLocks, available in pthread and also in modern Windows, to speed-up lock acquisition in core CoCo/SRGViz structures.
Find spots for improvements
Pick library providing lightweight mutexes
Replace!
Profile
The text was updated successfully, but these errors were encountered:
CoCo and SRGViz use extensively mutexes and in particular we employ boost::shared_mutex (now in C++17) for supporting in particular lock upgrades. Unfortunately these mutexes are quite heavyweight as shown from tests online (https://www.arangodb.com/2015/02/comparing-atomic-mutex-rwlocks/).
We should evaluate to introduce the use of RWLocks, available in pthread and also in modern Windows, to speed-up lock acquisition in core CoCo/SRGViz structures.
The text was updated successfully, but these errors were encountered: