[openib-general] Re: ibv_get_async_event

Roland Dreier rolandd at cisco.com
Tue Sep 6 10:08:44 PDT 2005


    Sean> The intent is that after all QPs on a CQ are destroyed and
    Sean> all events are removed, then no new completion events could
    Sean> ever occur on that CQ.  Destroying the CQ at this point
    Sean> should now be safe.

Sure, but how do you know all events are removed?  There's still the
race of a thread retrieving a completion event and then being delayed
arbitrarily long before it gets to process the event.

 - R.



More information about the general mailing list