I have an application where processes get messages posted quite often, in a
periodical fashion. Sometimes they don't have time to finish processing one
message before another drops in, so the message queue grows longer and
What I'd want is that in case there are several such messages waiting, only
the latest shall be processed, while the rest shall be dumped. (The messages
are "virtual clock ticks")
I tried some schemes of setting up things, but none worked. It may be
supposed that there will only be one kind of messages in the queue.
What am I missing? Maybe there is another way to assure many processes get
common virtual time information? Where should I look?
Thanks in advance,
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.