From owner-freebsd-hackers Wed Jan 31 11:20:56 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 4F88937B4EC for ; Wed, 31 Jan 2001 11:20:39 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.9.3) with SMTP id f0VJIsi10588 for ; Wed, 31 Jan 2001 14:18:54 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <016801c08bbb$d29a32c0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: Subject: Atomic bit operations Date: Wed, 31 Jan 2001 14:27:16 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, I've taken a look around for an implementation of atomic bit operations in FreeBSD (similar to Linux' asm/bitopt.h, which include clear_bit() and test_and_set_bit()) but haven't found any. The only thing I've found are the atomic clear/set/add/sub routines in machine/atomic.h. Do we have an implementation of atomic bit operations, and if we don't, would we like some? -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message