comp.lang.ada
 help / color / mirror / Atom feed
From: patrick@spellingbeewinnars.org
Subject: Re: open a file non-blocking ?
Date: Tue, 27 Feb 2018 15:33:43 -0800 (PST)
Date: 2018-02-27T15:33:43-08:00	[thread overview]
Message-ID: <cabe31e5-0f56-4054-a72d-6d43fd8fa1b7@googlegroups.com> (raw)
In-Reply-To: <p744nn$nhf$1@gioia.aioe.org>

Hi Again Dmitry

This is a very interesting post. I new about GNAT.Serial_Communications but I hadn't looked at the sources in a while. I wasn't really impressed when I read it the first time but I am now.

It binds to fcntl and it opens with O_NDELAY, which is similar to O_NONBLOCK.

There is a post here about the difference:
https://mail.python.org/pipermail/python-list/1999-May/013687.html

This serial package also gives code examples that could be used with any device to avoid blocking.

Thanks again! -Patrick





  reply	other threads:[~2018-02-27 23:33 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
2018-02-27 17:32         ` Dmitry A. Kazakov
2018-02-27 23:33           ` patrick [this message]
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