Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 1998 11:24:55 +0000
From:      Chrisy Luke <chrisy@flix.net>
To:        joelh@gnu.org
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: sharable static arrays?
Message-ID:  <19980112112455.48744@flix.net>
In-Reply-To: <199801121031.EAA00243@detlev.UUCP>; from Joel Ray Holveck on Mon, Jan 12, 1998 at 04:31:45AM -0600
References:  <199801121031.EAA00243@detlev.UUCP>

next in thread | previous in thread | raw e-mail | index | archive | help
Joel Ray Holveck wrote (on Jan 12):
> Are static arrays shared across multiple invocations of a program?

Not intrinsicly. You'll have to either use SYS-V style shared
memory (options SYSVSHM SYSVSEM SYSVMSG in a kernel config and
shmget(2) etc) or use BSD style mapped memory (mmap(2)).

Chris.
-- 
== chris@easynet.net, chrisy@flix.net, chrisy@flirble.org.
== Head of Systems for Easynet Group PLC.



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