Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Usable lock implementation with SX-semantics ====== ===== Technical contact ===== MaxLaier ===== Volunteers ===== DmitriyMarchenko AttilioRao ===== Description ===== The current sx(9) implementation has several problems that make it unusable in many areas: * Might sleep (cv_wait) on the shared lock acquisition * implicit, hardcoded priority order without starvation protection * ... Things to look at: * Solaris' rwlock * Use turnstiles instead of conditional variables * Priority propagation * No longer just one owner * shared/read locks might be acquired recursively ===== References ===== TBD usable_lock_implementation_with_sx-semantics.txt Last modified: 2008/06/17 21:37by 127.0.0.1