Queued Message Handler
The Queued Message Handler (QMH) design pattern is a combination of producer/consumer, and event handler architectures together. The producer loop, called the Event Handler Loop (EHL), contains an event structure that sends messages to the consumer loop, called the Message Handler Loop (MHL). The MHL receives and processes the messages. A message is enqueued when a UI event is triggered. The QMH can also be designed to provide feedback from the consumer to the producer using User Events.
Add yours here
- "Queued Message Handler Template" by National Instruments (http://www.ni.com/tutorial/53391/en/)