diff options
author | David 'Digit' Turner <digit@google.com> | 2010-03-18 17:13:41 -0700 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-03-18 17:13:41 -0700 |
commit | 88f06cd84a70f8a5212cb03272ec2c7cf0017afa (patch) | |
tree | 4ff0a88177cd5fb2ca9c0e6df9a331cea7ecad1c /libc/docs/CHANGES.TXT | |
parent | ee7b077abf1d99503b986489ad93374a057cb354 (diff) | |
download | bionic-88f06cd84a70f8a5212cb03272ec2c7cf0017afa.zip bionic-88f06cd84a70f8a5212cb03272ec2c7cf0017afa.tar.gz bionic-88f06cd84a70f8a5212cb03272ec2c7cf0017afa.tar.bz2 |
Use private futexes for pthread_mutex_t.
This does not change the implementation of conditional variables
since we're waiting for other system components to properly use
pthread_condattr_init/setpshared before that.
Also remove an obsolete x86 source file.
Change-Id: Ia3e3fbac35b87a534fb04d4381c3c66b975bc8f7
Diffstat (limited to 'libc/docs/CHANGES.TXT')
-rw-r--r-- | libc/docs/CHANGES.TXT | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/docs/CHANGES.TXT b/libc/docs/CHANGES.TXT index ec147c2..08b2009 100644 --- a/libc/docs/CHANGES.TXT +++ b/libc/docs/CHANGES.TXT @@ -83,6 +83,11 @@ Differences between current and Android 2.1: - <pthread.h>: Add pthread_condattr_init/destroy/setpshared/getpshared functions to enable proper shared conditional variable initialization. + Modify the pthread_mutex_t implementation to use private futexes for + performance reasons. Mutexes are no longer shareable between processes + by default anymore, unless you use PTHREAD_PROCESS_SHARED with + pthread_mutexattr_setpshared(). + XXX: The implementation still always uses shared condvars, independent of the flags being selected. This will change in a later commit. |