Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
The description of routine MCC$THREAD_TEST_ALERT (Chapter 11 of SRM) says : "Once an alert is delivered to a thread, the alerted condition of the thread can never be cleared, and this function will always return a value of true." Anyway, I experienced that if the first call to MCC$THREAD_TEST_ALERT returns TRUE, the second (and the others) will return FALSE. Who's rigth : MCC or SRM ?
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
136.1 | we'll clear it up | GOSTE::CALLANDER | Tue May 29 1990 14:44 | 16 | |
I don't know who is right, but what you saw is what my expectations are. The test alert tells you if you were alerted, once you find out that you were, it expects you to handle it. Next time you check it tells you if you have been alerted again. From the PM's perspective it has to work this way. The PM runs in a single thread during the entire user session. We need to check for new alerts, NOT if we have got one some time during the session but if we have gotten one since the last time we checked. If it is wrong in the SRM or system I will make sure it get's qared. Thanks for noting the discrepancy. jill |