Python multiprocess does not work or throw exception -


i have class , in constructor creating objects of process class below

self.child = multiprocessing.process(target = self.load_paths,args = (self.paths,self.queue,)) self.child.daemon = true 

in separate function try start process like

def start_child(self):     self.child.start()     print 'child started' 

now whenever call function start_child() 3rd time or n+2th time, child started message never printed , call not returned.

edit: process starting new children child process started other process.

this not return exception , works expected in windows(python 2.7.8). problem arises in ubuntu python 2.7.6

how can mitigate provided task manager not show anomaly in windows code?

i solved inheriting target class multiprocessing.process , overriding run function.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -