Overview
| Artifact ID: | 210bbbeb754a46ee19277d99af1e6f56d8bfc9478b1c1e98e52d179aa0ecae7b |
|---|---|
| Ticket: | 893f8cc5db3ba8bd6bed80ce89a0a75c6088a37c
Nested mutexes following TIP 509 |
| User & Date: | jan.nijtmans on 2025-09-27 20:24:48 |
Changes
- closedate changed to: "2460946.35056479"
- closer changed to: "jan.nijtmans"
- icomment:
So, Christian, that's a long explanation. Let's divide it into parts. First you say that there is no need to put a memory barrier around memory access, when there is already one. In addition (not in your story), I think new panic's are only needed in DEBUG mode. This results in [6c6604aee18eae14]. Then the only places where still atomic functions left are the MutexInit, MutexDestroy and MutexLock (not in the Unlock and ConditionWait any more). That's already an improvement. I think I understand this. Ashok, Sergey, do you as well? (part 2 for another day, let's first look at this)
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"