You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#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;
|
|
}
|