event: Added wait functions for queue_c.