Implementation of Event Queues