[Bug 200138] [PATCH] Fixed sthread-specific array allocation conflict incurred in libthr by some foreign malloc libraries
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 12 09:48:54 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200138
--- Comment #5 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to yuri from comment #4)
Your patch makes absolutely no sense, you just repeat the code from
_pthread_setspecific() into pthread_key_allocate_data(). Checking the same
thread-local condition twice cannot help, as well as doing it n times, n > 1.
There is nothing wrong with _pthread_setspecific being called several times
from the same thread, for the same key.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-threads
mailing list