commit | 519763265ec0b634bd9c264a0aca034882458ecc | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Mon Jun 28 14:10:14 2010 -0700 |
committer | David 'Digit' Turner <digit@google.com> | Fri Jul 02 15:09:57 2010 -0700 |
tree | 263dc7f4fa4256869cea19e6ea8a077d29bd95ad | |
parent | a02b93bd75a9d156117264d88069566e447397e2 [diff] |
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