Linus Torvalds <[email protected]> wrote:

> The return value isn't the value of the atomic variable.
> 
> The return value is whether the increment happened or not (ie the "was it not 
> zero and
> could be incremented" part?)

Okay, fair enough.  I was thinking of it as atomic_long_inc_return() - which
obviously it isn't.

David

Reply via email to