commit | ba9c6f0989ae94778ba2b9f597adc827c9dc81e8 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Wed Mar 10 16:44:08 2010 -0800 |
committer | David 'Digit' Turner <digit@google.com> | Thu Mar 11 11:48:38 2010 -0800 |
tree | 2376f2a87f6ac304bd93beca7c8139b890a6227f | |
parent | 1cfbda826ce66e9bd1507a31b7e6df62e0dbcc6e [diff] |
bionic: pthread: use private futexes by default for mutexes and condvars Private futexes are a recent kernel addition: faster futexes that cannot be shared between processes. This patch uses them by default, unless the PROCESS_SHARED attribute flag is used when creating a mutex and/or conditional variable. Also introduces pthread_condattr_init/destroy/setpshared/getpshared. Change-Id: I3a0e2116f467072b046524cb5babc00e41057a53