queue-pump must include iostream