f_thread_mutex_unlock(&global->thread->lock.alert);
}
- else {
- global->thread->enabled = controller_thread_enabled_not_e;
- }
}
else {
struct timespec time;
do {
status = f_thread_mutex_lock(&global->thread->lock.alert);
-
- if (F_status_is_error(status)) {
- global->thread->enabled = controller_thread_enabled_not_e;
-
- break;
- }
+ if (F_status_is_error(status)) break;
controller_time(controller_thread_exit_ready_timeout_seconds_d, controller_thread_exit_ready_timeout_nanoseconds_d, &time);
f_thread_mutex_unlock(&global->thread->lock.alert);
}
- else {
- global->thread->enabled = controller_thread_enabled_not_e;
- }
}
}
f_thread_mutex_unlock(&global->thread->lock.alert);
}
- else {
- global->thread->enabled = controller_thread_enabled_not_e;
- }
}
}
#endif // _di_controller_thread_process_exit_