[Gambas-bugtracker] Bug #2388: writing large data string to pipe causes gambas app to hang

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sat Nov 6 19:19:22 CET 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2388&from=L21haW4-

Comment #10 by Benoît MINISINI:

My comment #2 is still valid. Your code cannot work.

In blocking mode, writing to a full pipe will block and wait for the pipe to have room.

In non-blocking mode, it's not the system call that blocks, but the Gambas interpreter that will repeat the system call until everything is written. And as the pipe is still full, it loops forever.

Benoît MINISINI changed the state of the bug to: Rejected.




More information about the Bugtracker mailing list