From: Thomas Handler <thandler@systems.at>
Subject: Re: Looking for implementation idea
Date: 1999/02/10
Date: 1999-02-10T00:00:00+00:00 [thread overview]
Message-ID: <36C15BBE.F32B0963@systems.at> (raw)
In-Reply-To: 36C0B347.77286688@icon.fi
Niklas,
Niklas Holsti wrote:
> > > That problem sounds serious enough to report as a bug, either to ACT
> > > or FSU.
> > It seems obvious to me, just imagine what will happen, when you abort a
> > call that has requested dynamic memory? I guess this memory will be
> > lost.
> "man select" on my Linux system does not indicate that is allocates
> dynamic memory. From your description of the problem, it seems that
I also had a look into the kernel sources (though I have to admit that
I'm far far far away from being someone that knows enough about the
linux kernel to find this problem) but there was nothin obvious I saw.
> is a serious problem, and should interest at least the Ada on Linux Team.
I will resent my original message to the Ada on Linux Team mailing
list...
> Exactly. ATC abort of Linux calls should not leak memory. Now, I
> don't know how hard this is to correct, but at the very least there
> should be some warnings about it in the GNAT documentation (... I have
> to admit I haven't read the most recent docs).
I have had a look on several books I have about Ada (RM, ARM, John
Barnes's Prgramming in Ada 95, Concurrency in Ada and the GNAT docs but
I haven't found anything describing ATC with respect to OS calls or
leaking...
> FSU functions to find out how they block; sorry I can't provide
> positive info.
I have made the tests and it's correct, read() and write() operate
non-blocking even with FSU lib, but select() seems to block.
Ciao,
Thomas Handler
next prev parent reply other threads:[~1999-02-10 0:00 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-07 0:00 Looking for implementation idea Thomas Handler
1999-02-07 0:00 ` Niklas Holsti
1999-02-08 0:00 ` Thomas Handler
1999-02-09 0:00 ` Niklas Holsti
1999-02-10 0:00 ` Thomas Handler [this message]
1999-02-07 0:00 ` Corey Minyard
1999-02-07 0:00 ` Tucker Taft
1999-02-07 0:00 ` Corey Minyard
1999-02-08 0:00 ` Tucker Taft
1999-02-07 0:00 ` Corey Minyard
1999-02-08 0:00 ` robert_dewar
1999-02-08 0:00 ` dennison
1999-02-08 0:00 ` robert_dewar
1999-02-08 0:00 ` Tucker Taft
1999-02-09 0:00 ` robert_dewar
1999-02-11 0:00 ` Ehud Lamm
1999-02-07 0:00 ` Larry Kilgallen
1999-02-08 0:00 ` dewar
1999-02-08 0:00 ` dennison
1999-02-08 0:00 ` robert_dewar
1999-02-07 0:00 ` Tom Moran
1999-02-07 0:00 ` Corey Minyard
1999-02-08 0:00 ` Thomas Handler
1999-02-07 0:00 ` Paul Duquennoy
1999-02-08 0:00 ` Thomas Handler
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox