pthread_create syntax code example
Example 1: pthread_create
#include <pthread.h>
int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
void *(*start_routine) (void *), void *arg);
Compile and link with -pthread.
Example 2: pthread_create
pthread_create(&IDthread ,&attribute , Functionexecute ,(void *)struct );