OSDN Git Service

bionic: fix __get_tls( ) crash issue
authorJack Ren <jack.ren@intel.com>
Mon, 1 Aug 2011 10:44:55 +0000 (18:44 +0800)
committerJean-Baptiste Queru <jbq@google.com>
Wed, 30 Nov 2011 01:09:15 +0000 (17:09 -0800)
commit31e72bc3289acdd85b0b745fbf64c5949ca33432
treee67e3743e9ceeeb8afdfe25121fbe62dc1608bce
parent897815a1feff230be3ea42655a77dcbb9a8dcca9
bionic: fix __get_tls( ) crash issue

When running the stress test of pthread create/destroy, a crash may
oocur in __get_tls(). That is caused by the race condition with __set_tls( ):

Author: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
libc/arch-x86/bionic/__set_tls.c