In reply to dave_59:
What about disable fork ?
Does the same happen in the case of disable fork ?
task run_t;
fork // MAIN THREAD
check_trans(tr1);
check_trans(tr2);
check_trans(tr3);
join_none
disable fork;
endtask
If check_trans(tr2) has another initial begin…end block and had a set of child threads.I want to know if the “disable fork” statement disables only the threads spawned (// MAIN THREAD) or will it disable the threads spawned by child threads of check_trans(tr2).