equal
deleted
inserted
replaced
82 sigev.sigev_value.sival_int = 0; |
82 sigev.sigev_value.sival_int = 0; |
83 sigev.sigev_notify = SIGEV_THREAD; |
83 sigev.sigev_notify = SIGEV_THREAD; |
84 sigev.sigev_notify_attributes = NULL; |
84 sigev.sigev_notify_attributes = NULL; |
85 sigev.sigev_notify_function = PLC_timer_notify; |
85 sigev.sigev_notify_function = PLC_timer_notify; |
86 |
86 |
87 pthread_mutex_init(&debug_wait_mutex); |
87 pthread_mutex_init(&debug_wait_mutex, NULL); |
88 pthread_mutex_init(&python_wait_mutex); |
88 pthread_mutex_init(&python_wait_mutex, NULL); |
89 |
89 |
90 pthread_mutex_lock(&debug_wait_mutex); |
90 pthread_mutex_lock(&debug_wait_mutex); |
91 pthread_mutex_lock(&python_wait_mutex); |
91 pthread_mutex_lock(&python_wait_mutex); |
92 |
92 |
93 timer_create (CLOCK_REALTIME, &sigev, &PLC_timer); |
93 timer_create (CLOCK_REALTIME, &sigev, &PLC_timer); |