Change iqueue_t definition to remove possible race