OSDN Git Service

Remove the global lock around thread stack creation.
authorElliott Hughes <enh@google.com>
Thu, 10 Jul 2014 17:25:26 +0000 (10:25 -0700)
committerElliott Hughes <enh@google.com>
Thu, 10 Jul 2014 17:25:26 +0000 (10:25 -0700)
commite959a3b3157e38ebda4ce6f86efb5644faa4988b
tree3e8e0aec84c044d4471cf76b0348aaccce7df1f8
parentcd23370ca737dffc49166f8aacd19a025e72266f
Remove the global lock around thread stack creation.

This lock has been here since the original commits, but as far as I can tell
it never served any purpose. We've never had a free list of cached stacks or
anything like that.

Change-Id: I9d665c7eaa9c699ce0659ffb111402a0239fe1f5
libc/bionic/pthread_create.cpp