Aryan Firouzian Posted December 30, 2021 Report Share Posted December 30, 2021 There is specific scenario that I want to be sure there is not any suspended thread (only by time), then I can continue sending more signal. Is it possible to access that information in a running thread? Like how many suspended threads and what is their process names? Quote Link to comment Share on other sites More sharing options...
David Black Posted December 30, 2021 Report Share Posted December 30, 2021 To do this you would need a have an sc_process to observe the situation. You can of course traverse the design hierarchy and obtain a list of all processes; however, you will not be able to ascertain why they are suspended. Your question is a bit vague. Perhaps you could put a working code example on EDAplayground.com and give us a link to consider. You could record the __FILE__ and __LINE__ in every process just before suspension in a process specific variable. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.