I’m reading up on pthread.h
; the condition variable related functions (like pthread_cond_wait(3)
) require a mutex as an argument. Why? As far as I can tell, I’m going to be creating a mutex just to use as that argument? What is that mutex supposed to do?
