two threads scheduled and switching between one another