What does deferred mean?
What are valid cancellation points?
read and write are cancellation points
pthread_cond_wait is a cancellation point, but ...
pthread_mutex_lock is NOT a cancellation point.