Re: Deadlock problem using multiprocessing

2011-09-11 Thread Jacky Liu
> > I get this exception when I run the first program: > > Exception in thread Thread-1: > Traceback (most recent call last): >   File "/usr/lib/python3.1/threading.py", line 516, in _bootstrap_inner >     self.run() >   File "/usr/lib/python3.1/threading.py", line 469, in run >     self._target(*s

Re: Deadlock problem using multiprocessing

2011-09-11 Thread Kushal Kumaran
2011/9/11 蓝色基因 : > This is my first touch on the multiprocessing module, and I admit not > having a deep understanding of parallel programming, forgive me if > there's any obvious error. This is my test code: > > # deadlock.py > > import multiprocessing > > class MPTask: >        def __init__(self)

Deadlock problem using multiprocessing

2011-09-10 Thread 蓝色基因
This is my first touch on the multiprocessing module, and I admit not having a deep understanding of parallel programming, forgive me if there's any obvious error. This is my test code: # deadlock.py import multiprocessing class MPTask: def __init__(self): self._tseq= ran