]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r282948:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 29 May 2015 07:48:30 +0000 (07:48 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 29 May 2015 07:48:30 +0000 (07:48 +0000)
commitae0f8675b8d73779a3ab22fe1b8ae2fa50ea43c8
tree7476294e7e573870da8d78f8dbf27568dda886c8
parentc7dc8f373730de0cc70bf6d0624c65f25798f1aa
MFC r282948:
Use bare mmap(2) to allocate space for the per-thread keys,
instead of malloc(). This allows third party mallocs, which use
pthread_setspecific(3) on the allocation path, to work.

git-svn-id: svn://svn.freebsd.org/base/stable/10@283690 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libthr/thread/thr_spec.c