parallel program execution!! [message #133664] |
Sun, 21 August 2005 01:07 |
vishamr2000
Messages: 18 Registered: April 2005
|
Junior Member |
|
|
Hi to all,
My problem is as follows: There are actually two programs. func1() is found in Program1 (code found in the kernel) and there is Program2 that I have written. I want to execute Program2 everytime func1() in Program1 is executed. But func1() must not wait for Program2 to return. It should continue its execution after it signal Program2 to start executing. How can I achieve that?
Any input will be very much appreciated..
Warm regards,
Visham
|
|
|
|
Re: parallel program execution!! [message #133803 is a reply to message #133794] |
Mon, 22 August 2005 05:12 |
vishamr2000
Messages: 18 Registered: April 2005
|
Junior Member |
|
|
Hi frank,
fork creates a child process...it's takes up too much resources (memory n time)..func1() in Program1 is executed many times (may be thousands). I actually want a kind of signal to be raised by func1() to Program2.After it sends the signal, func1() doesn't care abt what happens to that signal nor shud the signal return anything to func1(). func1() kind of sends and forgets about the signal.
How can I do that?
Pls help...
Warm regards,
Visham
|
|
|