From owner-freebsd-hackers Mon Feb 9 11:10:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28322 for hackers-outgoing; Mon, 9 Feb 1998 11:10:14 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA28140 for ; Mon, 9 Feb 1998 11:09:42 -0800 (PST) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id UAA00736; Mon, 9 Feb 1998 20:07:09 +0100 (MET) (envelope-from sos) Message-Id: <199802091907.UAA00736@sos.freebsd.dk> Subject: Re: Shared memory and signals In-Reply-To: <199802091612.LAA16866@po1.bbn.com> from Dennis Rockwell at "Feb 9, 98 11:13:57 am" To: dennis@bbn.com (Dennis Rockwell) Date: Mon, 9 Feb 1998 20:07:09 +0100 (MET) Cc: Michael.Schuster@utimaco.co.at, hackers@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In reply to Dennis Rockwell who wrote: > On 6 Feb, Michael Schuster wrote: > > > Dennis Rockwell wrote > > > Also, this looks like a race condition just waiting to be lost. > > Could you elaborate? > Sure. The last two attachments do the sense ioctl at > roughly the same time, and both see that shm_nattach == 2, > so neither does the RMID. Yep, I've seen this too, but havn't got a fix yet... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe hackers" in the body of the message