Zaval.org -> Resources -> Library -> Recursive mutexes by David Butenhof
Home Resources - Procurement Dept. - Department of HR - Library - Training - Restroom Recursive mutexes by David Butenhof Original could be found here: Google Groups Newsgroups: comp.programming.threads From: David Butenhof Date: Tue, 17 May 2005 17:19:22 GMT Local: Tues,May 17 2005 1:19 pm Subject: Re: recursive mutexes Uenal Mutlu wrote: > "David Schwartz" wrote >> We really mean what we're saying. Really, really. Recursive mutexes are >>really bad and they really do hide serious bugs. > This is simply not true. Recursive locking is a superset of non-recursive locking. > Everthing possible in non-recursive locking is possible in recursive-locking too, > except deadlocking himself. So then how can recursive-locking be more dangerous > than non-recursive locking? This is simple basic logic. Simple, basic logic. First, implementation of efficient and reliable threaded code revolves around one simple and basic principle: follow y
Zaval.org -> Resources -> Library -> Recursive mutexes by David Butenhof Home Resources - Procurement Dept. - Department of HR - Library - Training - Restroom Recursive mutexes by David Butenhof Original could be found here: Google Groups Newsgroups: comp.programming.threads From: David Butenhof Date: Tue, 17 May 2005 17:19:22 GMT Local: Tues,May 17 2005 1:19 pm Subject: Re: recursive mutexes Uenal Mutlu wrote: > "David Schwartz" wrote >> We really mean what we're saying. Really, really. Recursive mutexes are >>really bad and they really do hide serious bugs. > This is simply not true. Recursi
saved by
related reading
- Unreliable Guide To Locking — The Linux Kernel documentationdocs.kernel.org
- Measuring Mutexes, Spinlocks and how Bad the Linux Scheduler Really is | Probably Danceprobablydance.com
- Spinlocks Considered Harmfulmatklad.github.io
- Notes on structured concurrency, or: Go statement considered harmful - njs blogvorpus.org
- Who ordered memory fences on an x86? | Bartosz Milewski's Programming Cafebartoszmilewski.com
- Things UNIX can do atomically — Crowley Code!rcrowley.org
- Reading 16: Mutual Exclusionweb.mit.edu
- A Concurrency Cost Hierarchytravisdowns.github.io
- Why choose async/await over threads? | Hacker Newsnews.ycombinator.com
- LittleBookOfSemaphores.pdfgreenteapress.com
- How to do distributed locking - Martin Kleppmann's blogmartin.kleppmann.com
- Understanding and expressing scalable concurrencyaturon.github.io