Add tests to check signal handling during pthread_join(3) andpthread_mutex_lock(3). Currently failing.