Yabin Cui 799cb35f45 Fix in error handling in pthread_create.cpp.
It is due to a previous change "Let g_thread_list_lock only protect g_thread_list".
We need to add the newly created thread to thread_list even if
__init_thread fails, so the thread can exit successfully.

Change-Id: I0332df11acfdd181350bcc092b12d90d679057a4
2015-03-25 16:18:21 -07:00
..
2015-02-27 18:22:45 -08:00
2015-02-14 13:21:22 -08:00
2015-02-17 17:05:48 +00:00
2014-12-18 16:27:30 -08:00