<pthreads.h> Library
Simple implementation of the pthread library:
#include <pthread.h>
void *myThread(void &value)
{
// do something
return NULL;
}
int main()
{
pthread_t thread;
pthread_create(&thread, NULL, &myThread, NULL);
pthread_join(thread, NULL);
return 0;
}Last updated