> Personally, I'm fine either way.  This method can acquire/release the mutex
 > twice, though that's not a big deal.  If we want better encapsulation, we 
 > could
 > also add a cma_enable_callback wrapper around the mutex_unlock.

I was thinking about that enable wrapper too... might make everything
easier to read.

(I think the double mutex in some cases is totally negligible, and the
clearer source more than makes up for it)
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

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

Reply via email to