Disabling processes from within a function

I fear the worst…

I copied and pasted Ben’s code just for sanity purposes but my simulator outputs:

Thread_1 start

@ 5.000ns an_event

Thread_2 start

Ending Thread 1

Interestingly I never see the message “End Thread_2 start” for no matter how long I run the sim… maybe the disable is disabling the wrong thread?

I fear the worst… Questa 10.7a must have a bug. Sigh…

Thank you Ben and Dave for getting back to me.