In 《c++ concurrency in action》page 265,
The data in the same cache-line with mutex-locks will be propagated because the mutex-locks are implemented as a r-m-w atomic operation. So the downside of this situation is the cost of ‘call to the operating system kernel’?
Aucun commentaire:
Enregistrer un commentaire