aboutsummaryrefslogtreecommitdiff
path: root/worker/types/messages.go
diff options
context:
space:
mode:
authorKevin Kuehler <keur@xcf.berkeley.edu>2019-10-28 12:07:07 -0700
committerBen Burwell <ben@benburwell.com>2019-10-29 11:07:55 -0400
commit8bc3ccb9017b04aafccafa294f219ced5b41a372 (patch)
tree73abb7b026bf955582ca3e9c8f84c8b3c858258b /worker/types/messages.go
parent37f33ad65bfbfa69e620fcb0fdcff6393a251ac7 (diff)
Add manual threading to the pipeline
Signed-off-by: Kevin Kuehler <keur@xcf.berkeley.edu>
Diffstat (limited to 'worker/types/messages.go')
-rw-r--r--worker/types/messages.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go
index d5f2484..2cde38f 100644
--- a/worker/types/messages.go
+++ b/worker/types/messages.go
@@ -81,6 +81,10 @@ type FetchDirectoryContents struct {
SortCriteria []*SortCriterion
}
+type FetchNativeThreadSupport struct {
+ Message
+}
+
type FetchDirectoryThreaded struct {
Message
SortCriteria []*SortCriterion
@@ -157,6 +161,11 @@ type DirectoryContents struct {
Uids []uint32
}
+type NativeThreadSupport struct {
+ Message
+ HasSupport bool
+}
+
type DirectoryThreaded struct {
Message
ThreadRoot *Thread