Mirror von
https://github.com/tkuschel/bees.git
synchronisiert 2026-10-31 04:17:48 +01:00
multilocker: serialize conflicting parallel operations
For performance or workaround reasons we sometimes have to avoid doing two conflicting operations at the same time, but we can still run any number of non-conflicting operations in parallel. MultiLocker (suggestions for a better class name welcome) blocks the calling thread until there are no threads attempting to run a conflicting operation. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
1 Ursprung
cc87125e41
Commit
4a4a2de89f
3 Dateien geändert
+113
Keine Dateien entsprechen Ihrer Suche
@@ -13,6 +13,7 @@ CRUCIBLE_OBJS = \
|
||||
extentwalker.o \
|
||||
fd.o \
|
||||
fs.o \
|
||||
multilock.o \
|
||||
ntoa.o \
|
||||
path.o \
|
||||
process.o \
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren