rawRead from Pipe segfaults

Imperatorn johan_forsberg_86 at hotmail.com
Thu Mar 18 07:55:01 UTC 2021


On Wednesday, 17 March 2021 at 23:08:07 UTC, kdevel wrote:
> In order to watch out for lost bytes in a pipe I encountered 
> this segfault.
> It seems that the readEnd is already closed when rawRead = 
> fread is
> called (uncomment the eof line).
>
> [...]

Have you tried "scope(exit) wait(" instead?


More information about the Digitalmars-d-learn mailing list