Date: Tue, 12 May 2015 09:48:55 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-threads@FreeBSD.org Subject: [Bug 200138] [PATCH] Fixed sthread-specific array allocation conflict incurred in libthr by some foreign malloc libraries Message-ID: <bug-200138-16-GQm9aGKSpF@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-200138-16@https.bugs.freebsd.org/bugzilla/> References: <bug-200138-16@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=200138 --- Comment #5 from Konstantin Belousov <kib@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200138-16-GQm9aGKSpF>