diff -r 982eb5bee593 -r 794cbccdcd00 master/master.h --- a/master/master.h Wed Oct 01 11:53:22 2008 +0000 +++ b/master/master.h Wed Oct 01 14:37:34 2008 +0000 @@ -44,6 +44,7 @@ #include #include #include +#include #include #include "device.h" @@ -134,15 +135,7 @@ unsigned int frames_timed_out; /**< There were frame timeouts in the last 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. */ + struct task_struct *thread; /**< Master thread. */ #ifdef EC_EOE struct timer_list eoe_timer; /**< EoE timer object. */