Welcome, Guest. Please login or register.

Author Topic: No need for Semaphore when data size is <= 32 bit ?  (Read 3814 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show all replies
Re: No need for Semaphore when data size is <= 32 bit ?
« on: May 01, 2006, 05:39:54 PM »
No.  On a PowerPC you'd have to load into a register, add 1, and store the register back to memory.  3 opcodes=Non-atomic.