Am 12.02.2014 03:49, schrieb Martin Nowak:
On 02/11/2014 04:24 PM, Martin Nowak wrote:



No problem :), it's the most important TODO right now to prevent this.
https://github.com/MartinNowak/drepl/blob/master/examples/server.d#L34

I wish SELinux was simpler, but it isn't. So instead of using a TCP
socket, I quickfixed this issue by polling non-blocking process pipes
https://github.com/MartinNowak/drepl/commit/1aef9acedb4ee4ee7cdcceda56796aba6d460cbe.


BTW, if you (can) use the latest vibe.d beta version, there is also the vibe.core.core.createFileDescriptorEvent function, which should work for waiting on the non-blocking pipes instead of busy-waiting with yield().

Reply via email to