Revision 505bdd3d2982d4712301fe3416f546e46fa72eae authored by Brad King on 26 March 2019, 14:58:08 UTC, committed by Brad King on 26 March 2019, 14:58:08 UTC
2 parent s c22a2b4 + b127e0c
Raw File
CheckForPthreads.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;
}
back to top