1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-06-19 06:57:54 +02:00

lib: namedptr: thread-safe reference counted named object store

NamedPtr provides reference-counted handles to named objects.  The object
is created the first time the associated name is used, and stored under
the associated name until the last handle is destroyed.  NamedPtr may
itself be destroyed while handles are still active.

This template is intended to replace ResourceHandle with a more general
and less invasive implementation.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2020-10-18 19:20:00 -04:00
Ursprung 8a2fb75462
Commit d2ecb4c9ea
3 geänderte Dateien mit 281 neuen und 0 gelöschten Zeilen
+1
Datei anzeigen
@@ -3,6 +3,7 @@ PROGRAMS = \
crc64 \
fd \
limits \
namedptr \
path \
process \
progress \