summaryrefslogtreecommitdiffstats
path: root/libc/docs/CHANGES.TXT
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-06-28 14:10:14 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-07-02 15:09:57 -0700
commit519763265ec0b634bd9c264a0aca034882458ecc (patch)
tree263dc7f4fa4256869cea19e6ea8a077d29bd95ad /libc/docs/CHANGES.TXT
parenta02b93bd75a9d156117264d88069566e447397e2 (diff)
downloadbionic-519763265ec0b634bd9c264a0aca034882458ecc.zip
bionic-519763265ec0b634bd9c264a0aca034882458ecc.tar.gz
bionic-519763265ec0b634bd9c264a0aca034882458ecc.tar.bz2
libc: Fix sem_post() implementation to wake up all waiting threads.
This also allows us to optimize the case where we increment an uncontended semaphore (no need to call futex_wake() then). Change-Id: Iad48efe8551dc66dc89d3e3f18c001e5a6c1939f
Diffstat (limited to 'libc/docs/CHANGES.TXT')
-rw-r--r--libc/docs/CHANGES.TXT5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/docs/CHANGES.TXT b/libc/docs/CHANGES.TXT
index 5a7a1ac..9389f7a 100644
--- a/libc/docs/CHANGES.TXT
+++ b/libc/docs/CHANGES.TXT
@@ -10,6 +10,10 @@ Differences between current and Android 2.2:
- <semaphore.h>: Use private futexes for semaphore implementation,
unless your set 'pshared' to non-0 when calling sem_init().
+ Also fixed a bug in sem_post() to make it wake up all waiting
+ threads, instead of one. As a consequence, the maximum semaphore
+ value is now reduced to 0x3fffffff.
+
- <math.h>: Added sincos(), sincosf() and sincosl() (GLibc compatibility).
- <sys/sysinfo.h>: Added missing sysinfo() system call implementation
@@ -59,7 +63,6 @@ Differences between current and Android 2.2:
- <sys/select.h>: add missing declaration for pselect()
--
-------------------------------------------------------------------------------
Differences between Android 2.2. and Android 2.1: