diff options
author | Glenn Kasten <gkasten@google.com> | 2011-06-02 08:59:28 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2011-06-10 17:07:46 -0700 |
commit | 9dbd7d818916dca77e53ababdaf05311d5c7bce2 (patch) | |
tree | bfabae474c823f0772712a322265af2d980959ef /docs/html/sdk/api_diff/11/changes | |
parent | 679dd99cdce72683816e6ac75e4f0e68ca6ad51c (diff) |
Remove redundant memory barrier
pthread_create already includes the necessary memory barriers:
- parent at pthread_create : pthread_mutex_unlock(start_mutex)
- child at __thread_entry : pthread_mutex_lock(start_mutex)
Add lock around uses of mThread.
Added comments:
- uses of mThread require lock
- androidCreateRawThreadEtc returned ID is not safe for direct use from non-parent threads.
Change-Id: I18cb296b41ddaf64cf127b57aab31154319b5970
Diffstat (limited to 'docs/html/sdk/api_diff/11/changes')
0 files changed, 0 insertions, 0 deletions