From 8cb4a9d751d1497e1059fedb03964bc9e56e5c06 Mon Sep 17 00:00:00 2001 From: Kevin Kuehler Date: Thu, 10 Oct 2019 15:27:07 -0700 Subject: Start adding thread support * Add threading-enabled config option * Add DirectoryThreaded and FetchDirectoryThreaded types to control path * Add generic thread type for all backends to use Signed-off-by: Kevin Kuehler --- worker/types/thread.go | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 worker/types/thread.go (limited to 'worker/types/thread.go') diff --git a/worker/types/thread.go b/worker/types/thread.go new file mode 100644 index 0000000..265438f --- /dev/null +++ b/worker/types/thread.go @@ -0,0 +1,6 @@ +package types + +type Thread struct { + Uid uint32 + Children []*Thread +} -- cgit v1.2.3