[CMake] CMAKE_USE_PTHREADS_INIT cleanup

Aaron Boxer boxerab at gmail.com
Sun Mar 20 08:46:14 EDT 2016


I recently added pthreads to my cmake program.
When I run valgrind, I get a "blocks still reachable" warning,
coming from dl_init.

I suspect that pthreads is not cleaning up properly. Is there a way
of ensuring that the shared library for pthreads gets cleaned up correctly
via cmake?

i.e. a matching CLEANUP to got with the INIT call ?

Thanks,
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160320/86e25a95/attachment.html>


More information about the CMake mailing list