Greetings everyone,
I have a parent process, let's call it Process1, Parent process has two tasks, Task1, Task2. Task1 is an IPC event. It starts a process called ChildProcess. Now , Child process has an Async server event, So that means this process is never completed as this Async event keeps it active.
I want Task1 to wait for Childprocess to complete all the tasks except this Async server event and then move on (It would be similar to Synchornous IPC event).
I know normal IPC Synchornous event will not work in this situation because Child process is never completed,
I was thinking In parent process, Make task1 an Async IPC event and after Task1 there would be another task called "Wait here". This event will be an Aysnc server event. This will make ParentProcess process1 wait, Once Child process is done, it will call ParentProcess and will finish "Wait Here" Async server event.
Any other ideas guys ?