Now passes priority-donate-nest test. Added a member to the thread struct that points to the lock it's waiting on.