Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

pthread_create

pthread_t tid; //declaration of thread id
pthread_create(&tid, NULL, &routine, NULL); 
//routine is a function that takes in void pointer and returns a void pointer
pthread_join(tid)
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+9 =