Use dedicated lock to hold selector thread