> We could use a global refcnt to count the number of pending destructions
> and use a completion object to block unload until all the destructors
> fire and the refcnt goes to zero.

It has the same race as module refcnt. So just use that.

-- 
MST

_______________________________________________
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