Yabin Cui 58cf31b506 Make pthread join_state not protected by g_thread_list_lock.
1. Move the representation of thread join_state from pthread.attr.flag
   to pthread.join_state. This clarifies thread state change.
2. Use atomic operations for pthread.join_state. So we don't need to
   protect it by g_thread_list_lock. g_thread_list_lock will be reduced
   to only protect g_thread_list or even removed in further changes.

Bug: 19636317
Change-Id: I31fb143a7c69508c7287307dd3b0776993ec0f43
2015-03-12 21:39:49 -07:00
..
2015-02-24 13:40:43 -08:00
2015-02-24 13:40:43 -08:00
2015-02-24 13:40:43 -08:00
2015-02-24 13:40:43 -08:00
2015-02-24 13:40:43 -08:00
2015-02-24 13:40:43 -08: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
2015-02-24 13:40:43 -08:00
2014-12-18 16:27:30 -08:00
2015-02-24 13:40:43 -08:00