[SOLVED] Re: os walk() and threads problems (os.walk are thread safe?)

2007-11-14 Thread Marcus Alves Grando
oving "if EXIT" all works fine again. Thanks all Regards Marcus Alves Grando wrote: > I make one new version more equally to original version: > > --code-- > #!/usr/bin/python > > import os, sys, time > import glob, random, Queue > import threading &

Re: os walk() and threads problems (os.walk are thread safe?)

2007-11-13 Thread Marcus Alves Grando
hon -V Python 2.5.1 # uname -r 2.6.9-42.0.8.ELsmp # python test.py /usr test:0:1311:0 # python test.py /usr test:0:1486:0 # python test.py /usr test:0:1520:0 # python -V Python 2.3.4 I really don't know what's happen. Another ideia? Regards Chris Mellon wrote: > On Nov 13, 2007 1:06

Re: os walk() and threads problems (os.walk are thread safe?)

2007-11-13 Thread Marcus Alves Grando
Diez B. Roggisch wrote: > Marcus Alves Grando wrote: > >> Diez B. Roggisch wrote: >>> Marcus Alves Grando wrote: >>> >>>> Hello list, >>>> >>>> I have a strange problem with os.walk and threads in python script. I >>

Re: os walk() and threads problems (os.walk are thread safe?)

2007-11-13 Thread Marcus Alves Grando
Diez B. Roggisch wrote: > 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.wa

os walk() and threads problems (os.walk are thread safe?)

2007-11-13 Thread Marcus Alves Grando
s -- Marcus Alves Grando marcus(at)sbh.eng.br | Personal mnag(at)FreeBSD.org | FreeBSD.org -- http://mail.python.org/mailman/listinfo/python-list