aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2007-09-19 21:35:03 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2007-09-19 21:35:03 -0400
commit51c55163401eb75dcd360ef671e329d7cf409356 (patch)
treee555a078bd799bbf9e77f927fd57493767916197 /include
parentbab5a1022414de2fbdba5e8674b90b858b1fde1f (diff)
add litmus_task_active() API
Most RT tasks need to do some cleanup before they can terminate. The litmus_task_active() API automates the catching of signals that indicate that the RT task should terminate.
Diffstat (limited to 'include')
-rw-r--r--include/litmus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h
index c16aa3b..3595919 100644
--- a/include/litmus.h
+++ b/include/litmus.h
@@ -109,5 +109,6 @@ task_class_t str2class(const char* str);
109void enter_np(void); 109void enter_np(void);
110void exit_np(void); 110void exit_np(void);
111 111
112int litmus_task_active();
112 113
113#endif 114#endif