comp.lang.ada
 help / color / mirror / Atom feed
From: patrick@spellingbeewinnars.org
Subject: Re: open a file non-blocking ?
Date: Tue, 27 Feb 2018 09:14:31 -0800 (PST)
Date: 2018-02-27T09:14:31-08:00	[thread overview]
Message-ID: <c275e022-a2ce-4216-8d00-edced7fefaa7@googlegroups.com> (raw)
In-Reply-To: <p71e6n$6l7$1@gioia.aioe.org>

Hi Guys

Sorry for my slow response and thanks for posting.

In C I can open with O_NONBLOCK. Is there the same in Ada?

I have different applications but one would be to read from several serial ports. Serial ports are very slow and if opened non-blocking a single task could easily monitor them.

Tasking is nice but I don't think it is a good idea to use it if there is a simple single threaded solution.

thanks again


  reply	other threads:[~2018-02-27 17:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-24 19:42 open a file non-blocking ? patrick
2018-02-25  7:57 ` Dmitry A. Kazakov
2018-02-25 12:38   ` patrick
2018-02-26  2:53 ` Robert Eachus
2018-02-26  9:33   ` Dmitry A. Kazakov
2018-02-26 16:41   ` Jeffrey R. Carter
2018-02-26 16:55     ` Dmitry A. Kazakov
2018-02-27 17:14       ` patrick [this message]
2018-02-27 17:32         ` Dmitry A. Kazakov
2018-02-27 23:33           ` patrick
2018-02-28  1:13         ` Dennis Lee Bieber
replies disabled

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