OSDN Git Service

Make getpid work before TLS has been initialized.
authorJosh Gao <jmgao@google.com>
Wed, 29 Jun 2016 23:19:25 +0000 (16:19 -0700)
committerJosh Gao <jmgao@google.com>
Thu, 30 Jun 2016 19:58:32 +0000 (12:58 -0700)
commit1089afb744de588d841ffdeed158dbcd113a8e02
tree7ce78b2a4780ccf8be0841a900354e2613149929
parent1159c196db79993b153114bcc4363f7e0f831773
Make getpid work before TLS has been initialized.

Bug: http://b/29622562
Change-Id: I648adc35c04604a7e8bc649c425f07a723e96d3a
Test: code dependent on this change no longer crashes
libc/bionic/pthread_internal.h