Hi, I asked this question on freebsd-smp...I'm asking here in case anyone has any ideas.
I am the port maintainer for the Apache Portable Runtime (APR) library. APR makes use of a function in Linux called atomic_dec_and_test which is described here: http://kernelnewbies.org/documents/kdoc/kernel-api/r287.html Is there a way that I can use the existing <machine/atomic.h> FreeBSD macros to achieve the equivalent of atomic_dec_and_test? I couldn't figure out a way to do it. Thanks. -- Craig Rodrigues http://home.attbi.com/~rodrigc [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-smp" in the body of the message ----- End forwarded message ----- -- Craig Rodrigues http://home.attbi.com/~rodrigc [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message