Skip to content

Commit

Permalink
fixup! feat: replace custom bool type with bool type in stdbool.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-soft committed Aug 25, 2024
1 parent e52fe0b commit f4810de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/thread/src/pthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include <errno.h>
#include <sys/time.h>
#include <stdbool.h>
#include <pthread.h>
#include <yutil.h>
#include "thread.h"
Expand All @@ -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;
Expand Down

0 comments on commit f4810de

Please sign in to comment.