On 14/11/2011 6:05 PM, Alan Bateman wrote:
The test runs cat without any arguments so the Copier threads will block
when they read from the stream.

Thank's Alan that critical point had escaped my notice.

David

 If we can get the main thread to wait
until the Copier threads are just about to do the read, sleep for a bit,
then the threads should be blocked in the read when we destroy the
process. It's not ideal but I don't think there is any other way to test
this.

-Alan.

Reply via email to