On: Tue, Feb 14, 2006 at 05:54:53PM -0500,Aria Bamdad Wrote:

} Hi,
} 
} I am having a problem with the WAKEUP command missing SMSG messages
} when the messages arrive just before a scheduled wakeup time.
} 
} I have suspected this for years but never had a chance to look at
} it closely.  I am now able to reproduce the problem.  Here is what
} I have in a loop on a DVM:
} 
} 'CP SET SMSG IUCV'
} "WAKEUP +00:10 ( SMSG NOEXT IUCVMSG"
} 
} The machine is to do something every 10 seconds or when it receives
} an SMSG.  If the SMSG arrives **JUST** before the 10 second timer is up,
} it will be missed!
} 
} Has anyone else seen this problem?

Inside your loop, do you change the SET SMSG settings?  If so, move them
outside the loop.  Whats happening is that the second item arrives when
you have SMSG set to normal so it just lost.  Leave SET SMSG IUCV in
effect and then the second one will get cued and handled when it returns
from handling the timer pop.

This is mainly an educated guess, based on:
1) Never having seen the problem.
2) Doing the SET SMSG IUCV outside the main loop.

-- 
Rich Greenberg N6LRT Marietta, GA, USA richgr atsign panix.com + 1 770 321 6507
Eastern time zone.   I speak for myself & my dogs only.     VM'er since CP-67
Canines:Val, Red & Shasta (RIP),Red, husky                   Owner:Chinook-L
Atlanta Siberian Husky Rescue. www.panix.com/~richgr/   Asst Owner:Sibernet-L

Reply via email to