Atomic instructions

This is a discussion on Atomic instructions within the C Programming forums, part of the General Programming Boards category; Planning to use Windows atomic instruction InterlockedIncrement and InterlockedDecrement. Have anybody used these? Can they be trusted or is there ...

  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, 01:08 PM
  2. strange 4 assembly instructions for a function
    By George2 in forum Windows Programming
    Replies: 1
    Last Post: 07-21-2008, 03:59 AM
  3. atomic operation of reference assignment?
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-27-2008, 09:14 AM
  4. Atomic Operations
    By Elysia in forum Windows Programming
    Replies: 27
    Last Post: 03-27-2008, 03: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21