[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 11:31:32 UTC 2015


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

--- Comment #13 from yuri at rawbw.com ---
Also sizeof(pthread_specific_elem)=12 * PTHREAD_KEYS_MAX=256 = 3kB.

Every thread will always have 3kB attached. I am sure there are a lot of
threads which don't use pthread_setspecific at all, and an extra 3K will be a
burden for them.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-threads mailing list