Quote Originally Posted by PadexArt
yes. but I was trying to leave the OP the pleasure of discovering those.
Ah, sorry to have screwed the fun then
Anyway, I replied it because it's not always obvious and when I needed to make ++ and -- threadsafe, I didn't immediately found those nifty functions