Flavio -- 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
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.
- Leak in rdma_get_cm_event on pthread_cancel? Flavio Baronti
- RE: Leak in rdma_get_cm_event on pthread_cancel? Hefty, Sean
- Re: Leak in rdma_get_cm_event on pthread_cancel? Flavio Baronti
- Re: Leak in rdma_get_cm_event on pthread_cancel? Jason Gunthorpe
- Re: Leak in rdma_get_cm_event on pthread_cancel? Flavio Baronti
- Re: Leak in rdma_get_cm_event on pthread_canc... Or Gerlitz
- Re: Leak in rdma_get_cm_event on pthread_... Jason Gunthorpe
- Re: Leak in rdma_get_cm_event on pth... Flavio Baronti
