Jump to content

sc_event_and_list/sc_event_or_list usage ??


mohitnegi

Recommended Posts

Hello ,
i have a scenario like this

thread1 {
while(1)

    e1.notify();

}
 
thread2{
while(1){
   wait(e1);
}
}
 

know thread 1 leaves control after two loop i.e after two event notify now i want thread2 to also run twice ...

cleardot.gif
 
can use sc_event_and_list here ???will this fullfill my purpose ...
 
 
 
 

 

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...