On Fri, Jan 22, 2010 at 4:20 PM, Robert Klemme
<shortcutter / googlemail.com> wrote:

> I would rather add "counter.join" at the end because otherwise process
> may exit before the thread had time to generate the output. In that
> case sync = true does not help much.
>

That's right.
we need a thread_object.join at the end.
Thanks robert.