From owner-freebsd-hackers Thu May 21 19:13:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA01621 for freebsd-hackers-outgoing; Thu, 21 May 1998 19:13:15 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA01579 for ; Thu, 21 May 1998 19:13:07 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id LAA01224; Fri, 22 May 1998 11:43:05 +0930 (CST) (envelope-from grog) Message-ID: <19980522114305.Z27201@freebie.lemis.com> Date: Fri, 22 May 1998 11:43:05 +0930 From: Greg Lehey To: FreeBSD Hackers Subject: SMP resource locking Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I haven't paid much attention to SMP problems yet, but I need to now. Can somebody point me to functions to ensure single-thread passing of critical sections? In a UP environment I'd use splhigh (), but that's obviously not enough for SMP. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message