Date: Sun, 7 Sep 2025 15:22:54 +0200
Thanks to you too Tiago!
You touched upon something I meant to ask for. A name. unique_multilock
felt right at the time I started because it is supposed to be ju like a
unique_lock, only for multiple lockables.
Today we have lock_guard and it's multi mutex cousin scoped_lock.
With this proposal we'd have unique_lock and ...
Some candidates, other than unique_multilock:
unique_scoped_lock ("scoped" didn't feel right for this movable type)
unique_lock_set (the "set" part didn't feel right)
If anyone has an idea, please share!
Br,
Ted
You touched upon something I meant to ask for. A name. unique_multilock
felt right at the time I started because it is supposed to be ju like a
unique_lock, only for multiple lockables.
Today we have lock_guard and it's multi mutex cousin scoped_lock.
With this proposal we'd have unique_lock and ...
Some candidates, other than unique_multilock:
unique_scoped_lock ("scoped" didn't feel right for this movable type)
unique_lock_set (the "set" part didn't feel right)
If anyone has an idea, please share!
Br,
Ted
Received on 2025-09-07 13:22:58