comp.lang.ada
 help / color / mirror / Atom feed
From: "Tomek Wałkuski" <tomek.walkuski@gmail.com>
Subject: Re: Ada and (SIGTERM?)
Date: Sat, 8 Aug 2009 10:53:36 -0700 (PDT)
Date: 2009-08-08T10:53:36-07:00	[thread overview]
Message-ID: <7c4f9e5c-73a3-40af-a247-c44c858b8742@k26g2000vbp.googlegroups.com> (raw)
In-Reply-To: 52dab4e5-9ee0-4e01-9072-32a95caadb84@j19g2000vbp.googlegroups.com

On 8 Sie, 17:06, Maciej Sobczak <see.my.homep...@gmail.com> wrote:
> If you want to preserve the blocking I/O scheme in your program, you
> can break out of Accept_Socket by establishing an artificial
> connection to the listening socket. Just pretend to be your own client
> and knock to your own door. :-)
> When the Accept_Socket returns, check the "quit" flag to decide what
> to do next. This flag should be set before establishing this
> artificial connection to yourself, so that it is already set up when
> Accept_Socket returns.
>
Done :)

Thx Maciej.



  reply	other threads:[~2009-08-08 17:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-05 19:58 Ada and (SIGTERM?) Tomek Walkuski
2009-08-06  1:06 ` Adam Beneschan
2009-08-06 18:13   ` sjw
2009-08-06 18:48     ` Adam Beneschan
2009-08-06 19:30   ` Tomek Wałkuski
2009-08-06 19:57     ` Jeffrey R. Carter
2009-08-06 20:02       ` Tomek Wałkuski
2009-08-06 20:00     ` okellogg
2009-08-08 13:11     ` Tomek Wałkuski
2009-08-08 15:06       ` Maciej Sobczak
2009-08-08 17:53         ` Tomek Wałkuski [this message]
2009-08-16 13:11           ` Tomek Wałkuski
2009-08-16 15:47             ` Maciej Sobczak
replies disabled

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