OSDN Git Service

Prevent using static-allocated pthread keys before creation.
authorYabin Cui <yabinc@google.com>
Fri, 6 Mar 2015 04:35:32 +0000 (20:35 -0800)
committerYabin Cui <yabinc@google.com>
Tue, 14 Apr 2015 20:32:09 +0000 (13:32 -0700)
commit5ddbb3f936ee44555a46020239e49ab45109a806
tree70395ecf0897580781856c68cbcd57019ff831e3
parent4bd8f9637daaada333ff35945b00cfe6cb822376
Prevent using static-allocated pthread keys before creation.

Bug: 19993460

Change-Id: I244dea7f5df3c8384f88aa48d635348fafc9cbaf
libc/bionic/pthread_key.cpp
tests/pthread_test.cpp