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.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/sys/_task.h b/sys/sys/_task.h
index 4eb6d64..2a51e1b 100644
--- a/sys/sys/_task.h
+++ b/sys/sys/_task.h
@@ -41,13 +41,10 @@ typedef void task_fn_t(void *context, int pending);
struct task {
STAILQ_ENTRY(task) ta_link; /* link for queue */
- int ta_pending; /* count times queued */
- int ta_priority; /* priority of task in queue */
+ u_short ta_pending; /* count times queued */
+ u_short ta_priority; /* Priority */
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