xxxxxxxxxx
// pthread_create() used to creat a new thread passing the attributes if needed using
// argument attr the thread is executing the function pass in the void *(*start_routine)(void*)
#include <pthread.h>
int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
void *(*start_routine)(void*), void *arg);