An examination of Solaris' turnstile mechanism, a data structure used to implement priority inheritance for blocking mutexes in kernels. It explains why blocking mutexes need compact bookkeeping and how priority inversion arises, then details how turnstiles solve multi-hop priority inheritance by letting threads donate per-thread turnstile structures to contended locks, located via a hash table keyed on lock address. It also covers limitations around multi-owner locks like reader-writer locks, and traces turnstile-like designs into other UNIX-derived kernels, hobby OSes, and userspace constructs such as WebKit's ParkingLot.
Source: https://rdmsr.github.io/writing/turnstiles. 8 Sync News only summarizes and links out; content copyright belongs to the authors and original sources.
Đang tải bình luận…
Read the news here, practice coding, follow structured courses and train for IELTS on our sibling products — all connected through one 8 Sync account.
The ecosystem home: product overviews, blog and full pricing.
ExploreLearn along a clear roadmap: videos, auto-graded quizzes, certificates and mentors who ship for a living.
View the roadmap1,000+ DSA problems in Vietnamese, auto-graded across 7 languages — many FREE, right in your browser.
Practice for freeAI grading for all four IELTS skills with detailed rubric feedback.
Try it freeA 22 MB AI IDE for Vietnamese devs.
Download freeOrganizational memory for AI agents.
ExploreAI that staffs your Fanpage and qualifies leads for you.
Try it