Pastebin:Atomic: Difference between revisions
m
Whoops...been a while since I put any code on here.
((Needed a place to put some code for a discussion in #rosettacode, and didn't want to use codepad or pastebin for it; It's RC we're talking about here!)) |
m (Whoops...been a while since I put any code on here.) |
||
Line 3:
Feel free to edit this to heck and back; If it needs to be linked to, link to a specific revision.
<
volatile LONG var;
Line 45:
InterlockedExchange(&var, newval);
}
</
|