comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: System calls - GNAT library vs. direct bindings
Date: Fri, 01 Jun 2007 20:29:21 +0100
Date: 2007-06-01T20:29:21+01:00	[thread overview]
Message-ID: <m2ejkvlbhq.fsf@mac.com> (raw)
In-Reply-To: 1180679234.663392.52720@p77g2000hsh.googlegroups.com

Maciej Sobczak <see.my.homepage@gmail.com> writes:

> On 31 Maj, 22:07, Simon Wright <simon.j.wri...@mac.com> wrote:
>
>> We decided that GNAT.Sockets was perfectly OK for our needs (that
>> doesn't mean we think it's perfect)
>
> Why is it not perfect?

Because it was created by humans ...

Specifically, the behaviour with UDP streams is bizarre -- it all
looks as though the data is transferred correctly, but each atomic
data item is sent/received in a separate datagram.

The implementation of Socket_Type (and there's a naming issue straight
away!) suffers from not being controlled, and might be better
reference-counted (we've just had to deal with a file descriptor leak
caused by this).

I'm not sure that it was necessary to use 2 (3, temporarily) invisible
sockets in the implementation of Selectors (perhaps it is, haven't
thought about it deeply).



  reply	other threads:[~2007-06-01 19:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31 14:58 System calls - GNAT library vs. direct bindings Maciej Sobczak
2007-05-31 15:06 ` Ludovic Brenta
2007-05-31 15:23   ` Maciej Sobczak
2007-05-31 16:14     ` Ludovic Brenta
2007-05-31 19:08       ` Michael Bode
2007-05-31 19:48         ` Markus E Leypold
2007-05-31 20:07 ` Simon Wright
2007-05-31 21:10   ` Georg Bauhaus
2007-06-01 19:50     ` Simon Wright
2007-06-01  6:27   ` Maciej Sobczak
2007-06-01 19:29     ` Simon Wright [this message]
2007-06-01  6:59 ` anon
2007-06-01 10:17   ` Markus E Leypold
2007-06-01 13:01   ` Maciej Sobczak
2007-06-01 20:13   ` Pascal Obry
2007-06-01 20:35     ` Pascal Obry
2007-06-01 17:42 ` Jeffrey R. Carter
2007-06-01 19:32   ` Simon Wright
2007-06-01 20:45   ` Maciej Sobczak
2007-06-02  5:35     ` Jeffrey R. Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox