[Gambas-user] Opening Pipes (avoiding lockup)
g4mba5 at gmail.com
Sun Oct 4 00:20:27 CEST 2020
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."
> I don't think you should be able to open pipe for read AND write at the
> same time.
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.
More information about the User