Q qatanah Feb 1, 2010 #1 I'm working on a multithreaded environment, what happens if I call the perl exec command? Will it properly handles the thread gracefully?
I'm working on a multithreaded environment, what happens if I call the perl exec command? Will it properly handles the thread gracefully?
Alt Feb 1, 2010 #2 I think he will not cus exec replaces current program, his threads will not get correct data/instructions
I think he will not cus exec replaces current program, his threads will not get correct data/instructions
OP Q qatanah Feb 1, 2010 Thread Starter #3 you mean the threads are still executing? Or memory still being used?
SirDice Administrator Staff member Administrator Moderator Feb 1, 2010 #4 There's quite a lengthy bit about exec in the perlfunc(1) man page.
Alt Feb 1, 2010 #5 qatanah said: you mean the threads are still executing? Or memory still being used? Click to expand... Dunno but im nearly sure he will not pthread_join them :e
qatanah said: you mean the threads are still executing? Or memory still being used? Click to expand... Dunno but im nearly sure he will not pthread_join them :e
OP Q qatanah Feb 1, 2010 Thread Starter #6 Alt said: Dunno but im nearly sure he will not pthread_join them :e Click to expand... i kinda feel the same way too.
Alt said: Dunno but im nearly sure he will not pthread_join them :e Click to expand... i kinda feel the same way too.