[ofa-general] CQ destory
Dotan Barak
dotanb at dev.mellanox.co.il
Tue Nov 13 23:48:54 PST 2007
Hi.
There isn't any way to know if there are any CQEs in the CQ.
Destroying a CQ which has completions should create seg fault (unless
you have another thread that try to use this CQ ...)
Dotan
Ganesh Sadasivan wrote:
> Hi,
>
> Is there any way to figure out that a cq does not have any pending
> completion entries and thus
> is safe to call ibv_destroy_cq. Or is it ok to call destroy
> regardless of whether there are completion
> entries? I am seeing a seg fault in ibv_poll_cq if I adopt the
> latter approach.
>
> Thanks
> Ganesh
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
>
More information about the general
mailing list