Creating a Pthread [cont'd]
pthread_create() returns 0 if successful, a +ve error code if not
does not set errno, but returns compatible codes
can use strerror() to print error messages
int pthread_join(pthread_t tid, void **status)
- tid
- the thread ID of the thread to wait for
- cannot wait for any thread (cf. wait())