From owner-freebsd-stable Fri Mar 29 14:31:57 2002 Delivered-To: freebsd-stable@freebsd.org Received: from acmey.gatech.edu (acmey.gatech.edu [130.207.165.23]) by hub.freebsd.org (Postfix) with ESMTP id 8F41137B417 for ; Fri, 29 Mar 2002 14:31:46 -0800 (PST) Received: from prism.gatech.edu (r77h93.res.gatech.edu [128.61.77.93]) by acmey.gatech.edu (Postfix) with ESMTP id 45FC431FB2 for ; Fri, 29 Mar 2002 17:31:45 -0500 (EST) (envelope-from gte733p@prism.gatech.edu) Message-ID: <3CA4ED81.F0B9307F@prism.gatech.edu> Date: Fri, 29 Mar 2002 17:41:05 -0500 From: "Matthew L. Creech" Reply-To: gte733p@prism.gatech.edu X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@FreeBSD.org Subject: shm & pthreads Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I searched for the answer to this, but couldn't find any information. I'm writing a program that uses shared memory (via shm_*) to communicate between two processes, each multithreaded. I need some way to synchronize the two processes, and while other methods are available (pipe, etc), I'd like to use pthreads mutexes, as it makes my coding much easier. I read that this is supported in Solaris, but not in Linux, but couldn't find any information on FreeBSD. I this legal? Thanks -- Matthew L. Creech To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message