<div dir="ltr">Thank you. I will try again with multi threading.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-09 22:10 GMT+07:00 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p>Am 09.10.2015 16:37 schrieb "Kiên Nguyễn Tiến Trung" <<a href="mailto:kc97ble@gmail.com" target="_blank">kc97ble@gmail.com</a>>:<br>
><br>
> I want to send a big amount of data to a child process through pipe. However, it is stated in the documentation that writing too much into the pipe may cause a deadlock.</p>
</span><p>That is not necessarily a deadlock. It just blocks until the receiving profess is ready to process more input. Of course you should process it's output, cause if it can't write into its output anymore it can't normally read from its input either ;)<br>
That said you could write into the Input in a separate thread, this way your GUI stays responsive.</p>
<p>Regards,<br>
Sven</p>
<br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" rel="noreferrer" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div><br></div>