diff options
author | David 'Digit' Turner <digit@google.com> | 2010-03-19 17:59:23 -0700 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-03-22 17:31:50 -0700 |
commit | b5e4a416060aa7f0a1e2a9ad5b8e318d59986852 (patch) | |
tree | 39115a2ef1c6c4084763687a312a67a52c9597c1 /libc/docs | |
parent | 377d4c979dee3dcb5929e8f7a68a53c2407259ab (diff) | |
download | bionic-b5e4a416060aa7f0a1e2a9ad5b8e318d59986852.zip bionic-b5e4a416060aa7f0a1e2a9ad5b8e318d59986852.tar.gz bionic-b5e4a416060aa7f0a1e2a9ad5b8e318d59986852.tar.bz2 |
pthread: Use private futexes by default in condition variables
Now that the system properly uses shared condvars when needed, we
can enable the use of private futexes for them too.
Change-Id: Icf8351fc0a2309f764cba45c65bc3af047720cdf
Diffstat (limited to 'libc/docs')
-rw-r--r-- | libc/docs/CHANGES.TXT | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libc/docs/CHANGES.TXT b/libc/docs/CHANGES.TXT index 08b2009..9080685 100644 --- a/libc/docs/CHANGES.TXT +++ b/libc/docs/CHANGES.TXT @@ -83,13 +83,10 @@ 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. + Modify the pthread_mutex_t and pthread_cond_t implementation to use private + futexes for performance reasons. Mutexes and Condvars are no longer shareable + between processes by default anymore, unless you use PTHREAD_PROCESS_SHARED + with pthread_mutexattr_setpshared() and/or pthread_condattr_setpshared(). ------------------------------------------------------------------------------- Differences between Android 2.1 and 2.0.1: |