From: Kevin Day Date: Mon, 15 Dec 2025 00:47:04 +0000 (-0600) Subject: Update: Use the f_thread defines. X-Git-Tag: 0.7.4~10 X-Git-Url: https://www.git.kevux.org/?a=commitdiff_plain;h=f2cb5b4550ae4fed38b4f42f9ad93f7847d94388;p=control Update: Use the f_thread defines. Do not directly use the `PTHEAD_*` defines. Instead use the ones provided by `f_thread`. --- diff --git a/sources/c/program/control/main/thread.c b/sources/c/program/control/main/thread.c index c9a44e2..f34bf1c 100644 --- a/sources/c/program/control/main/thread.c +++ b/sources/c/program/control/main/thread.c @@ -7,7 +7,7 @@ extern "C" { #if !defined(_di_control_thread_signal_) && !defined(_di_thread_support_) void * control_thread_signal(void * const main) { - f_thread_cancel_state_set(PTHREAD_CANCEL_DEFERRED, 0); + f_thread_cancel_state_set(f_thread_cancel_defer_d, 0); if (main) { control_signal_handler((control_main_t *) main);