crucible: add Task class

We need a mechanism for distributing work across processor cores and
disks.

Task implements a simple FIFO/LIFO queue model for executing closures.
Some locking primitives are included (mutex and barrier).

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2018-01-17 22:51:59 -05:00
Ursprung 844a488157
Commit 8849e57bf0
5 geänderte Dateien mit 865 neuen und 0 gelöschten Zeilen
+1
Datei anzeigen
@@ -14,6 +14,7 @@ OBJS = \
path.o \
process.o \
string.o \
task.o \
time.o \
uuid.o \
.version.o \