master/master.h
changeset 1198 be606e9caba4
parent 1079 ef1266652c4d
child 1200 ce1a65f06efc
child 1644 8174d9b2adaf
equal deleted inserted replaced
1197:f65f9c36ba33 1198:be606e9caba4
   133     ec_stats_t stats; /**< Cyclic statistics. */
   133     ec_stats_t stats; /**< Cyclic statistics. */
   134     unsigned int frames_timed_out; /**< There were frame timeouts in the last
   134     unsigned int frames_timed_out; /**< There were frame timeouts in the last
   135                                      call to ecrt_master_receive(). */
   135                                      call to ecrt_master_receive(). */
   136 
   136 
   137     int thread_id; /**< Master thread PID. */
   137     int thread_id; /**< Master thread PID. */
       
   138     struct completion thread_can_terminate; /**< Thread termination completion
       
   139                                               object. When stopping the
       
   140                                               thread, it must be assured, that
       
   141                                               it 'hears' a SIGTERM, therefore
       
   142                                               the allow_singal() function must
       
   143                                               have been called.
       
   144                                              */
   138     struct completion thread_exit; /**< Thread completion object. */
   145     struct completion thread_exit; /**< Thread completion object. */
   139 
   146 
   140 #ifdef EC_EOE
   147 #ifdef EC_EOE
   141     struct timer_list eoe_timer; /**< EoE timer object. */
   148     struct timer_list eoe_timer; /**< EoE timer object. */
   142     unsigned int eoe_running; /**< \a True, if EoE processing is active. */
   149     unsigned int eoe_running; /**< \a True, if EoE processing is active. */