Thank you for the sample code. This helped me a lot. I have re-organized my code to follow the same structure. The code is more readable like this and while going through the changes I also spotted an issue with how I was managing the second signal mask.
Will read about MuForce.
Quote:
Originally Posted by Thomas Richter
Code:
signals = Wait(...);
if (signal & (1UL << windowsignal)) {
while(msg = GT_GetIMsg(...)) {
... handle messsage ...
GT_ReplyIMsg(msg);
}
} else if (signal & (othersignalmask)) {
...
}
|