Date: Tue, 18 Nov 2025 22:45:22 +0100
Hi!
Here's the second version of the proposal to add a RAII container for
multiple lockables, capable of defered and timed locking etc.
Howard H: I've added a link in the paper to an implementation at
https://github.com/bemanproject/timed_lock_alg
although something prevents me from pushing the actual implementation
there right now. It'll be uploaded there eventually. When it comes to
usage in the wild, I only know of one which was what lead me to write
the wrapper. I added the outline of that as "Example 4. Replacing a
scoped_lock with deferred and timed locking".
Jan S: I've tried to address all your points (although I sometimes find
it hard to not write C++ expressions in prose :-)
Anyway, I hope you'll find it in better shape now.
Br,
Ted
Here's the second version of the proposal to add a RAII container for
multiple lockables, capable of defered and timed locking etc.
Howard H: I've added a link in the paper to an implementation at
https://github.com/bemanproject/timed_lock_alg
although something prevents me from pushing the actual implementation
there right now. It'll be uploaded there eventually. When it comes to
usage in the wild, I only know of one which was what lead me to write
the wrapper. I added the outline of that as "Example 4. Replacing a
scoped_lock with deferred and timed locking".
Jan S: I've tried to address all your points (although I sometimes find
it hard to not write C++ expressions in prose :-)
Anyway, I hope you'll find it in better shape now.
Br,
Ted
Received on 2025-11-18 21:45:30
