On Sun, Mar 23, 2003 at 06:37:17PM -0500, Craig Rodrigues wrote:
> 
> APR makes use of a function in Linux called
> atomic_dec_and_test which is described here:
*snip*
> Is there a way that I can use the existing <machine/atomic.h>
> FreeBSD macros to achieve the equivalent of atomic_dec_and_test?

Probably not a good idea. You're much better off implementing it
on your own. Your requirements are likely to be different from
those of the kernel.

-- 
 Marcel Moolenaar         USPA: A-39004          [EMAIL PROTECTED]

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

Reply via email to