Marcus Alves Grando wrote:

> Hello list,
> 
> I have a strange problem with os.walk and threads in python script. I
> have one script that create some threads and consume Queue. For every
> value in Queue this script run os.walk() and printing root dir. But if i
> increase number of threads the result are inconsistent compared with one
> thread.
> 
> For example, run this code plus sort with one thread and after run again
> with ten threads and see diff(1).

I don't see any difference. I ran it with 1 and 10 workers + sorted the
output. No diff whatsoever.

And I don't know what you mean by diff(1) - was that supposed to be some
output?

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to