You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use "lock was acquired" in some places and "ownership was obtained" in others.
"ownership" makes sense for e.g. std::mutex which must be unlocked by the same thread that locked. We refer to the thread that successfully locked the mutex as its "owner" until it unlocks. (FWIW, I'd prefer "if the calling thread took ownership" to the passive voice "if ownership was obtained.") "ownership" notably does not fit more general Lockables for which unlockers need not necessarily hold the mutex.
That said, I don't see any reason why we couldn't use "lock was acquired" in all cases.
If some of the differences are there for good reasons that's fine, but with the other inconsistencies it's hard to tell what's intentional and significant, and what's just noise.
In Clause [thread] we have:
I don't see any reason why:
The text was updated successfully, but these errors were encountered: