At its heart, a message pump is just a thread waiting for an event. Upon receipt of the event, some state data will instruct the thread how to proceed. In this article, we'll manage the state data by enqueuing and dequeuing task objects on a queue. The event is triggered by the producer thread once a task item has been enqueued. Many threads may add task items to the queue, but one thread reads from it.
Recent comments
31 weeks 6 hours ago
31 weeks 7 hours ago
34 weeks 3 days ago
40 weeks 1 day ago
48 weeks 6 days ago