From f4810de0ee2af31e5e9c181ca356ea59235626d8 Mon Sep 17 00:00:00 2001 From: Liu Date: Sun, 25 Aug 2024 22:28:45 +0800 Subject: [PATCH] fixup! feat: replace custom bool type with bool type in stdbool.h --- lib/thread/src/pthread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/thread/src/pthread.c b/lib/thread/src/pthread.c index 6c2fc17df..071653559 100644 --- a/lib/thread/src/pthread.c +++ b/lib/thread/src/pthread.c @@ -13,6 +13,7 @@ #include #include +#include #include #include #include "thread.h" @@ -33,7 +34,7 @@ typedef struct thread_info_t { } thread_info_t; static struct thread_manager_module_t { - int active; + bool active; thread_mutex_t mutex; list_t threads; } thread_manager;