[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

3376.0. "Q: Why mcc_event_put never returns EVENT LOST sta" by TAEC::LAVILLAT () Fri Jul 17 1992 07:30

Hello,

We (TeMIP) are using extensively the Event Manager, first to collect events,
and also to communicate between processes.

There is one thing I do not understand in the current behaviour of the 
mcc_event_put routine : why does it return MCC_S_NORMAL when the event is lost ?

I think it would be very valuable for a sink to know that the event pool is
nearly full, so that it can take appropriate action to solve the problem :
discard low priority notification, notify its event source of the problem,...

In the current implementation an event putter is a blind putter : it never
knows if the event was delivered or discarded (except if there is no listener).

Is there a reason for this I am not aware ?

Regards.

Pierre.


T.RTitleUserPersonal
Name
DateLines
3376.1It doesTOOK::GUERTINIt fall down, go boomMon Jul 20 1992 12:046
    It returns MCC_S_INSEVTPOOLMEM -
    %MCC-E-ENSEVTPOOLMEM, Insufficient event pool memory to post event.
    
    This means it posted the Lost Event pseudo-event.
    
    -Matt.
3376.2I have never received this one !TAEC::LAVILLATMon Jul 20 1992 15:4229
Re .1:

>
>    It returns MCC_S_INSEVTPOOLMEM -
>    %MCC-E-ENSEVTPOOLMEM, Insufficient event pool memory to post event.
>    
>    This means it posted the Lost Event pseudo-event.
>    
>    -Matt.
>


     Matt,

	It is supposed to do so, but in fact I have never received such
	error in all my tests (and I have done quite a lot !).

	What I have experienced for sure is that when the error status 
	Event Lost is received by an event getter, MCC_S_NORMAL is 
	often/always returned to the putter.

	So you can lose event without being notified.

	If this is not the expected behaviour, I am ready to enter a QAR
	against this.

	Regards.

	Pierre.
3376.3Sounds like a bug to me!TOOK::GUERTINIt fall down, go boomMon Jul 20 1992 15:587
    Pierre,
    
    We will try to reproduce it.  If, as you say, it never returns this CVR,
    then it is a bug, and should be QARed.  Feel free to QAR it.
    
    Thanks,
    -Matt.