Il 1/13/2012 17:43 PM, Hefty, Sean ha scritto:
When I want to stop the thread reading rdma events, I kill it with a
pthread_cancel(), since it is blocked in a
rdma_get_cm_event(). This causes a leak of the evt variable in the
rdma_get_cm_event() function. Not a big deal, of
course, but a couple of pthread_cleanup_push(free, evt) and
pthread_cleanup_pop() should solve it.

What version of the librdmacm are you using?

I'm using 1.0.13; I checked in 1.0.15 too, and the code appears to have the 
same structure.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to