Files
ESP-Nodes/ESP32-IDF_ESPNOW-Transmitter/build/CMakeFiles/CMakeScratch/TryCompile-qCzSGK/src.c
2025-06-17 23:11:11 -04:00

21 lines
320 B
C

#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}