Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • "Well, one thing it might mean is that another thread is currently changing the data protected by that mutex, right?" Sure, but it could also mean the data was written and the reader thread(s) can now read it. Commented Nov 7, 2024 at 17:38
  • It would be weird to say that a mutex being locked means that the data protected by the mutex is now ready to read - except by the thread which already holds the lock. A mutex being locked doesn't preclude the data being consistent, but you're sidestepping all the guarantees mutual exclusion is designed to provide if you simply assume it. Commented Nov 8, 2024 at 10:50
  • By the way, good work on cross-referencing so many different books Commented Nov 17 at 0:54
  • Where were you a year ago when I needed you, oh editor, my editor? Commented Nov 18 at 19:30