Jump to content

Is it possible to get list of all the threads that are suspended by wait(time)


Recommended Posts

Posted

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?

Posted

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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...