Fixed small issue with windows enviorment

This commit is contained in:
2025-03-12 19:48:14 +00:00
parent 8a0335c8da
commit b06987919d
+2 -2
View File
@@ -1,4 +1,4 @@
#include "threadlib/threadlib.h"
#include "threadlib.h"
int __max_threads;
unsigned char isThreadMasterRunning = 0;
@@ -120,7 +120,7 @@ void thread_master_get_status()
printf("Thread Master - Max Threads: %d\n", __max_threads);
printf("Param: %d\n", param->max_threads);
#endif // DEBUG
sleep(1);
sleep_ms(100);
} while (__max_threads == 0);
pthread_mutex_lock(&param->mutex);