Quantcast
Channel: SystemC Language Forum RSS Feed
Viewing all articles
Browse latest Browse all 595

sc_event_and_list/sc_event_or_list usage ??

$
0
0
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 ...
 
 
 
 

 


Viewing all articles
Browse latest Browse all 595

Latest Images

Trending Articles



Latest Images