From owner-freebsd-smp Sat Mar 22 23:41:17 2003 Delivered-To: freebsd-smp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1EF437B401 for ; Sat, 22 Mar 2003 23:41:15 -0800 (PST) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [24.61.43.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 326C543F93 for ; Sat, 22 Mar 2003 23:41:14 -0800 (PST) (envelope-from rodrigc@attbi.com) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1]) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7) with ESMTP id h2N7fJri043862 for ; Sun, 23 Mar 2003 02:41:20 -0500 (EST) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost) by h00609772adf0.ne.client2.attbi.com (8.12.8/8.12.7/Submit) id h2N7fJg8043861 for freebsd-smp@freebsd.org; Sun, 23 Mar 2003 02:41:19 -0500 (EST) Date: Sun, 23 Mar 2003 02:41:19 -0500 From: Craig Rodrigues To: freebsd-smp@freebsd.org Subject: atomic_dec_and_test() in FreeBSD? Message-ID: <20030323074119.GA43849@attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Is there a way that I can use the existing 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