Introduction to Events Using XORIntroduction to Events Using Double Buffering