https://issues.apache.org/bugzilla/show_bug.cgi?id=54128

--- Comment #5 from Tim Whittington <[email protected]> ---
Created attachment 30720
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30720&action=edit
Alternative patch to speed up exec

I've attached an alternative fix, which addresses the core problem of the
PumpStreamHandler blindly joining the StreamPumper thread for 200ms without
signalling it to exit.
StreamPumper is also changed to drain available output on finish, which is
required when it is in 'use available' mode as fast executing tasks will most
often exit before the output is read.

A fixed tree is also available at
https://github.com/orionhealth/ant/tree/features/fast-exec.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to