1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-07-14 20:35:16 +02:00
gbe_fork/cmake/share/cmake-3.27/Modules/CheckForPthreads.c

15 lines
288 B
C

#include <pthread.h>
void* start_routine(void* args)
{
return args;
}
int main(void)
{
/* This is a compile and link test, no code to actually run things. */
pthread_t thread;
pthread_create(&thread, 0, start_routine, 0);
pthread_join(thread, 0);
return 0;
}