[Gambas-user] Opening Pipes (avoiding lockup)
bsteers4 at gmail.com
Sun Oct 4 12:38:46 CEST 2020
Well that answered my question. at least.
Well done Ben
On Sat, 3 Oct 2020 at 23:21, Benoît Minisini <g4mba5 at gmail.com> wrote:
> Le 03/10/2020 à 22:37, Jussi Lahtinen a écrit :
> > "Opening a pipe for reading normally blocks until some other process
> > opens the same pipe for writing."
> > http://gambaswiki.org/wiki/lang/pipe
> > I don't think you should be able to open pipe for read AND write at the
> > same time.
> > Benoit?
> > Jussi
> Now when you open a named pipe for reading, it is actually opened in
> non-blocking mode, and then set to blocking mode once opening has
> succeeded. Only in older version of Gambas (< 3.15) opening a pipe for
> reading had to wait for the pipe being opened for writing.
> Benoît Minisini
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User