Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2003 02:41:19 -0500
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        freebsd-smp@freebsd.org
Subject:   atomic_dec_and_test() in FreeBSD?
Message-ID:  <20030323074119.GA43849@attbi.com>

next in thread | raw e-mail | index | archive | help
Hi,

Is there a way that I can use the existing <machine/atomic.h>
FreeBSD macros to achieve the equivalent of atomic_dec_and_test which 
is mentioned here for Linux:

http://kernelnewbies.org/documents/kdoc/kernel-api/r287.html

Thanks.
 
-- 
Craig Rodrigues        
http://home.attbi.com/~rodrigc
rodrigc@attbi.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030323074119.GA43849>