Pthread Locks

This lesson gives a brief introduction to locks in the POSIX library.

We'll cover the following...

The name that the POSIX library uses for a lock is a mutex, as it is used to provide mutual exclusion between threads, i.e., if one thread is in the critical ...