https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320

--- Comment #5 from Tijl Coosemans <t...@freebsd.org> ---
(In reply to David Chisnall from comment #4)
That's what glibc seems to do.  When a thread calls dlclose its thread_local
variables are destroyed, but if there are other threads with thread_local
variables the DSO is kept in memory until those variables are destroyed (when
the threads exit or call dlclose).

https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to