The original questions is about number of events in the event queue. I think you had it right because the Get Queue Status only seems to work with a regular queue.
It seems that the conversation has eveolved to one of architecture though, and Ton has given me the terminology to better describe my problem.
It turns out that I am running a producer/consumer structure using the event structure as the messaging method, I just didn't know it was called that. The producer and consumer loops are normally approximately synchronized; however, because sometimes an event occurs that takes more time to process, the consumer loop falls behind the producer loop. A little bit is ok, but falling behind too much is no good. That is why I was interested in determining how many events were in the queue.
You guys have convinced me that I need to change the structure of the program though.
It seems like I have two good options:
1) Add the fast processes to the producer loop and leave the slow processes in the consumer loop.
2) Create two consumer loops, one for fast processes and one for slow ones.
Is one of these methods better than another? Intuitively, the second seems more sound since the producer loop should just be producing, but my intuition has failed me before. 🙂
Thanks.