sched: Introduce task_status().
[paraslash.git] / sched.h
diff --git a/sched.h b/sched.h
index db6ee7dc3a21a6a87037a3bad331d4ae081e271a..6a35f0e8e56a2f7fa4609ce63906d57981dbff0b 100644 (file)
--- a/sched.h
+++ b/sched.h
@@ -103,6 +103,7 @@ char *get_task_list(struct sched *s);
 void task_notify(struct task *t, int err);
 void task_notify_all(struct sched *s, int err);
 int task_get_notification(const struct task *t);
+int task_status(const struct task *t);
 int task_reap(struct task **tptr);
 void sched_min_delay(struct sched *s);
 void sched_request_timeout(struct timeval *to, struct sched *s);