Fork join_any : One thread is for loop and another is delay

In reply to deepi202:

You need to be more specific about what a different time means. If you put a #1 in front of the $display statement, then each time through the loop is 1 time unit.

You can put disable fork; after the join_any to kill off the other process.