http://codereview.chromium.org/2821025/show
http://codereview.chromium.org/2821025/show

Fix pthread_create of detachable threads.
A detachable thread can die and deallocate its data before the system call returns.
Bug: http://code.google.com/p/nativeclient/issues/detail?id=656

Author: Evgeniy Stepanov.

Review URL: http://codereview.chromium.org/2964002

git-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@2640 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2

nacl-webkit/native_client,sbc100/native_client,sbc100/native_client,nacl-webkit/native_client,sbc100/native_client,nacl-webkit/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client,nacl-webkit/native_client,nacl-webkit/native_client