In reply to dave_59:
I capture the log from the simulation.
50 Sub-Process1 Started
50 Sub-Process2 Started
55 Sub-Process1 Finished
55 Sub-Process1 Started
60 Sub-Process2 Finished
60 Sub-Process2 Started
60 Sub-Process1 Finished
60 Sub-Process1 Started
65 Sub-Process1 Finished
65 Sub-Process1 Started
70 Sub-Process2 Finished
70 Sub-Process2 Started
70 Sub-Process1 Finished
Both sub_process-1 and sub_Process-2 will start at the same time, sub_Process-1 will finish at 55ns and Process-2 will finish at 60ns.
As I understand the fork-join_any will be unblocked at 55ns.
If sub_process1 has finished then it will disable fork and go to the drop_objection.
If I missed something, could you please help me understand how to properly modify the code?