From 51c55163401eb75dcd360ef671e329d7cf409356 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Wed, 19 Sep 2007 21:35:03 -0400 Subject: 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. --- include/litmus.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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); void enter_np(void); void exit_np(void); +int litmus_task_active(); #endif -- cgit v1.2.2