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
@@ -5,6 +5,7 @@ PROGRAMS = \
limits \
path \
process \
task \
all: test