Fab Tillier wrote:
Hmm, I'd rather just sweep through the list of events when we destroy
a CQ/QP/SRQ and delete any events that refer to the object we're
destroying.  It's on my to-do list but I'll definitely take patches if
you do it first.

Couldn't an event be "in flight" when the user destroys an object, causing the
event to be delivered post-destruction?

I believe that sweeping through the list to cleanup events is necessary but not sufficient. The user could have retrieved an event and be returning from the get call as they call destroy in a separate thread. If destroy completes first, then the context returned from get event will be invalid.

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to