Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2015 08:57:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 192320] Use of thread_local produces linking errors on system version of clang++
Message-ID:  <bug-192320-29464-rVQHIWXFF0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192320-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192320-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320

--- Comment #5 from Tijl Coosemans <tijl@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192320-29464-rVQHIWXFF0>