I found the atomic_* functions in <machine/atomic.h>, but noticed that they
have no return value.  What I need is a function that increments/decrements
the given value *and* returns the new value in an atomic operation.  I
suppose this is possible, yes?  How would one modify the assembly to make
this work?

Thanks!



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to