locking - Can someone give a simple example of using a non-scalable lock? -


i bit confused non-scalable locks .can give me example , explain how works?

you use non-scalable lock in same way scalable-lock. difference is, non-scalable version might in trouble high contention. on other hand non-scalable locks might bit more responsive if used lightly (which common scenario). see also: what scalable lock?

if want sample need specify programming language , lock primitive want (not) use.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -