On 2010-08-08, Michael Ludwig wrote:

> Stefan Bodewig schrieb am 08.08.2010 um 22:12 (+0200):

>> Finally I found the reason - the enhancement that is Bugzilla Issue
>> 31885.  Ant writes output synchronously in order to support advanced
>> test UIs.

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

> Great you found the cause! I might be wrong, but I think this kind
> of IO is simply referred to as "unbuffered IO", whereas "blocking",
> "non-blocking" and "asynchronous IO" would involve device readiness.

Neither term is what I meant (and yes, I am aware of the differences, my
language was just sloppy 8-).

Ant's test runner buffers all output of all tests and flushes it to the
test formatters once a testsuite finishes (I'm glossing over a few
details here), the "testevents" are sent to System.out immediately
rather than being buffered up - that's what I refered to as
synchronously since output is synchronous to the tests rather than
delayed.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to