In reply to dave_59:
Okay, forget about the fork join.
The logic I want to code is for below explanation.
I have two process, one is having "for" loop and another is delay.
For loop can go till any value, lets say for simplicity it is running for 1000 values and its taking 10 cycles to finish this.
And my delay is of 5 cycles only.
Now above this two, whichever is finishing early I want to come out and stop another and continue with the next statements.
So, there can be two possibilities only,
1) For loop can finish early and then it can come out and then we can disable the delay process. In this case we will 1000 times for loop is executing
2) Delay is coming early and by that time for loop is executed for 600 values only. In that case I want to stop the for loop as soon as delay comes.
For second approach, I am looking for a solution.
It will be better if you can help me.