[CMake] CMAKE_USE_PTHREADS_INIT cleanup

Aaron Boxer boxerab at gmail.com
Sun Mar 20 13:02:53 EDT 2016


On Sun, Mar 20, 2016 at 8:46 AM, Aaron Boxer <boxerab at gmail.com> wrote:

> 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 ?
>


Turns out it isn't pthreads library.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160320/55e636cd/attachment.html>


More information about the CMake mailing list