Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2002 18:39:42 -0600 (CST)
From:      Loren James Rittle <rittle@latour.rsch.comm.mot.com>
To:        stable@freebsd.org
Cc:        gte733p@prism.gatech.edu
Subject:   Re: shm & pthreads
Message-ID:  <200203300039.g2U0dg213975@latour.rsch.comm.mot.com>
In-Reply-To: <3CA4ED81.F0B9307F@prism.gatech.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <3CA4ED81.F0B9307F@prism.gatech.edu> you write:
> 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.

FreeBSD 4-STABLE doesn't implement this feature (according to various
POSIX standards, this is the symbol an implementation must define):

/usr/include/sys/unistd.h:/* #define _POSIX_THREAD_PROCESS_SHARED */

Regards,
Loren

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203300039.g2U0dg213975>