[openib-general] EINTR in ibv_get_cq_event

Qi Gao gaoq at cse.ohio-state.edu
Thu Jun 1 14:44:01 PDT 2006


Hi,

I'm trying to use the ibv_get_cq_event, and I see the following behavior:

This is my code:
----------
ret = ibv_get_cq_event(cm_ud_comp_ch, &ev_cq, &ev_ctx);
if (ret) {
     fprintf(stderr, "Failed to get cq_event: %d\n", ret);
     perror("ibv_get_cq_event");
}
----------

Most times it's OK, but sometimes I see:
----------
Failed to get cq_event: -1
ibv_get_cq_event: Interrupted system call
----------

Could someone tell me what may be happening?

Thanks,

Qi



More information about the general mailing list