[openib-general] best way to get ibv_get_cq_event to return

Roland Dreier rdreier at cisco.com
Sun Jan 7 10:29:37 PST 2007


 > This is true (and i guess that it will work), but if in the future the 
 > implementation of the ibv_comp_channel will be changed,
 > this code will not work ....

The use of a file descriptor is pretty fundamental, and it was done
exactly to permit this sort of stuff (poll(), epoll, SIGIO, etc).  So
I think it is extremely unlikely to change in a way that would break
an app using the file descriptor.

 - R.




More information about the general mailing list