summaryrefslogtreecommitdiffstats
path: root/sys/sys/_task.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/_task.h')
-rw-r--r--sys/sys/_task.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/_task.h b/sys/sys/_task.h
index f459c23..4eb6d64 100644
--- a/sys/sys/_task.h
+++ b/sys/sys/_task.h
@@ -45,6 +45,9 @@ struct task {
int ta_priority; /* priority of task in queue */
task_fn_t *ta_func; /* task handler */
void *ta_context; /* argument for handler */
+ int ta_flags; /* Flags */
};
+#define TAF_PENDING 0x1 /* Task is being run now */
+
#endif /* !_SYS__TASK_H_ */
OpenPOWER on IntegriCloud