[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

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

136.0. "SRM : pb with MCC$THREAD_TEST_ALERT description" by TENERE::LAVILLAT () Tue May 29 1990 16:21

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.RTitleUserPersonal
Name
DateLines
136.1we'll clear it upGOSTE::CALLANDERTue May 29 1990 17:4416
    
    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