From: Maciej Sobczak <no.spam@no.spam.com>
Subject: Re: pragma importing sem_init gives me a segmentation fault
Date: Mon, 26 Feb 2007 10:21:45 +0100
Date: 2007-02-26T10:21:45+01:00 [thread overview]
Message-ID: <eru8r9$26o$1@cernne03.cern.ch> (raw)
In-Reply-To: <uzm726ymx.fsf@stephe-leake.org>
Stephen Leake wrote:
> It might be better to redesign the program to use Ada protected types
> rather than OS semaphores.
If the semaphore is in shared memory (and it is, see original question),
then I'd expect that some other programs make use of it. There is no
provision that all such programs are written in Ada.
And how do you make a protected object that is shared between processes,
btw?
--
Maciej Sobczak : http://www.msobczak.com/
Programming : http://www.msobczak.com/prog/
prev parent reply other threads:[~2007-02-26 9:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-24 20:52 pragma importing sem_init gives me a segmentation fault laforge2001
2007-02-25 0:01 ` Jeffrey Creem
2007-02-28 19:54 ` laforge2001
2007-03-01 0:07 ` Jeffrey Creem
2007-02-25 15:32 ` Stephen Leake
2007-02-26 9:21 ` Maciej Sobczak [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox