Overview
| Artifact ID: | 460c65e9e9fed5bd9f2522b9acfbaac565af684186e07985a9ce2cf6bac10b6e |
|---|---|
| Ticket: | 893f8cc5db3ba8bd6bed80ce89a0a75c6088a37c
Nested mutexes following TIP 509 |
| User & Date: | sebres on 2025-09-26 12:46:02 |
Changes
- closedate changed to: "2460945.03197127"
- closer changed to: "sebres"
- icomment:
I didn't misunderstand... And although, **generally** spoken, you are right and the role of the mutex is exactly to protect data and to provide consistence, but in most cases to protect non-volatile data - e. g. complex structures with more than 1 variable, to behave consistently... to read single value it is not always needed to be "protected", till it is consistently changed (and properly aligned for atomic read, etc). Timing issue is orthogonal to mutex protection (and in case of mentioned encoding switch, we have exactly the timing issue and not some inconsistence). Anyway, that always depends, but changes nothing what I said about single lock or futility of recursive mutexes.
- login: "sebres"
- mimetype: "text/x-markdown"