master/master.h
changeset 1198 be606e9caba4
parent 1079 ef1266652c4d
child 1200 ce1a65f06efc
child 1644 8174d9b2adaf
--- a/master/master.h	Fri Aug 08 13:42:46 2008 +0000
+++ b/master/master.h	Fri Aug 08 13:47:23 2008 +0000
@@ -135,6 +135,13 @@
                                      call to ecrt_master_receive(). */
 
     int thread_id; /**< Master thread PID. */
+    struct completion thread_can_terminate; /**< Thread termination completion
+                                              object. When stopping the
+                                              thread, it must be assured, that
+                                              it 'hears' a SIGTERM, therefore
+                                              the allow_singal() function must
+                                              have been called.
+                                             */
     struct completion thread_exit; /**< Thread completion object. */
 
 #ifdef EC_EOE