Remove the Xp specific threading code.