P
..:: parizienne ::..
Hello everybody,
I would like to have a program structure allowing me to pass args to a
running thread in perl. I didn't see any topic on this anywhere. I
think it is not possible with just a command.
I thought to a different structure. Could you please tell me if it is
possible to do that, or is there any other way to achieve this or
maybe am I completely wrong ???
1. Control
I would like to control threads. It means, is there a way to
pause/resume a thread execution once launched, or do I have to stop
the thread, get temp data and then launching a new thread again ?
2. Passing args
If I want to pass additional args to a running thread, do I have to
stop the thread, get data back and then relaunch the thread with old
data and new args ?
Thanks in advance
Sincerely yours
Dan
I would like to have a program structure allowing me to pass args to a
running thread in perl. I didn't see any topic on this anywhere. I
think it is not possible with just a command.
I thought to a different structure. Could you please tell me if it is
possible to do that, or is there any other way to achieve this or
maybe am I completely wrong ???
1. Control
I would like to control threads. It means, is there a way to
pause/resume a thread execution once launched, or do I have to stop
the thread, get temp data and then launching a new thread again ?
2. Passing args
If I want to pass additional args to a running thread, do I have to
stop the thread, get data back and then relaunch the thread with old
data and new args ?
Thanks in advance
Sincerely yours
Dan