shared_mutex
Sven Bieg
svenbieg@outlook.de
Sun Aug 2 21:40:03 GMT 2026
Mr. and Mrs.,
the new operator does not have to return void*.
auto obj=new MyObject() should let me return a handle.
Good night
________________________________
From: Sven Bieg <svenbieg@outlook.de>
Sent: Sunday, 02 August 2026 20:48:39
To: libstdc++@gcc.gnu.org <libstdc++@gcc.gnu.org>
Subject: shared_mutex
Good evening from Germany Mr. and Mrs.,
i can translate, but a shared mutex may not exist. You see, a mutex protects a shared resource. A shared mutex to a shared resource is something not even me can understand.
My proposal:
mutex.lock(accessmode::readonly)
Happy weekend,
Sven Bieg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20260802/ec9ad497/attachment.htm>
More information about the Libstdc++
mailing list