pthread_create(thread_returned, attribute_returned, start_routine, args_for_start_routine)
pthread_exit) pthread_exit
pthread_cancel
main() terminates before its threads do with pthread_exit(), the other threads keep on going; else they die when main() terminates
pthread_attr_init and pthread_attr_destroy) pthread_join()) or detached. If it's detached it uses a bit less system resources.
pthread_self() - get my system thread ID.
pthread_equal() - compares 2 thread IDs.
pthread_attr_ - thread attribute objects
pthread_mutex - duh
pthread_mutexattr_ - mutex attribute objects
pthead_cond - duh
pthead_condattr_ - duh
pthread_key_ - thread-specific data keys (?)
pthreads_create() around 40-50x faster than fork
-pthread