rahuljn Posted November 17, 2014 Report Share Posted November 17, 2014 Hi Guys If I use wait(e1 | e2) in my thread(where e1 and e2 are sc_event), on the next line after this wait, is there a way to know whether it is an event on e1 or e2 which force the thread to come out of wait. Thanks RahulJn Quote Link to comment Share on other sites More sharing options...
apfitch Posted November 18, 2014 Report Share Posted November 18, 2014 No there isn't unfortunately. A possible work-around is to use boolean signals instead, and use the event() method to test which boolean signal has an event, regards Alan 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.