diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-09-19 21:35:03 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-09-19 21:35:03 -0400 |
commit | 51c55163401eb75dcd360ef671e329d7cf409356 (patch) | |
tree | e555a078bd799bbf9e77f927fd57493767916197 /include | |
parent | bab5a1022414de2fbdba5e8674b90b858b1fde1f (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.h | 1 |
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); | |||
109 | void enter_np(void); | 109 | void enter_np(void); |
110 | void exit_np(void); | 110 | void exit_np(void); |
111 | 111 | ||
112 | int litmus_task_active(); | ||
112 | 113 | ||
113 | #endif | 114 | #endif |