Thread: Atomic instructions

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    175

    Atomic instructions

    Planning to use Windows atomic instruction

    InterlockedIncrement and InterlockedDecrement.

    Have anybody used these?
    Can they be trusted or is there any side effects of this?

    Please let me know..

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Your best bet is to jump over to the MSDN and read up there. Otherwise, you'll want to probably post on the Windows Programming forum.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Atomic integers & memcpy()
    By rasta_freak in forum C Programming
    Replies: 11
    Last Post: 08-05-2008, 12:08 PM
  2. strange 4 assembly instructions for a function
    By George2 in forum Windows Programming
    Replies: 1
    Last Post: 07-21-2008, 02:59 AM
  3. atomic operation of reference assignment?
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-27-2008, 08:14 AM
  4. Atomic Operations
    By Elysia in forum Windows Programming
    Replies: 27
    Last Post: 03-27-2008, 02:38 AM
  5. Mixing user mode and OS instructions
    By Canadian0469 in forum C Programming
    Replies: 2
    Last Post: 11-05-2007, 03:49 AM