Creating a PThread
int pthread_create(pthread_t *tid, pthread_attr_t *attr, void *(*func)(void *), void *arg)
tid is unique within a process, returned by function
attr
- sets priority, scheduling method, initial stack size, daemon status
- can specify as NULL
func
- function to call to start thread
- accepts one void * argument, returns one void *
arg is the argument to pass to func