Thread deadlock lab