If you are selective with your quoting you can suggest anything.
The full, relevant quote is:
My immediate expectation is that when you redirect the output it buffers it, allowing thread 1 to complete the entire workload before thread 2 has had a chance to start
Which I'll break down into 3 parts in reverse order:
allowing thread 1 to complete the entire workload before thread 2 has had a chance to start
No mention that the small size of the sample dataset gives only the appearance of the identified a "problem".
Nor that if the dataset was large enough to actually warrant using two threads, then there is no problem.
when you redirect the output it buffers it
The symptoms, wrongly identified as a "problem", have exactly nothing to do with buffering. Turn buffering off and the symptoms do not change at all.
My immediate expectation is
Giving responses based upon expectations, when it took about 2 minutes to completely disprove the theory, is willfully misleading.
And the "solution" offered to the (non)"problem"; is just completely unnecessary.
So, yes!
In reply to Re^3: Redirecting output in Windows cmd prevents second thread from doing anything
by BrowserUk
in thread Redirecting output in Windows cmd prevents second thread from doing anything
by perluser09
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |