OSDN Git Service

Use private futexes for semaphores, unless they are initialized with pshared != 0.
authorDavid 'Digit' Turner <digit@google.com>
Thu, 3 Jun 2010 01:12:12 +0000 (18:12 -0700)
committerDavid 'Digit' Turner <digit@google.com>
Wed, 9 Jun 2010 00:04:49 +0000 (17:04 -0700)
commit6304d8b21891fd0cb7b5a4c25159a3d3b1709d62
tree8ab9c2bf6022f139b7af2eabda11846abf684171
parenta8a21488630980c1d2a2152d0ac39bd7978879e2
Use private futexes for semaphores, unless they are initialized with pshared != 0.

Change-Id: I534e36a7171cd37037ae03b910ba71ea6968286d
Note: previously, sem_init() would return an error if pshared != 0.
libc/bionic/pthread.c
libc/bionic/semaphore.c
libc/docs/CHANGES.TXT
libc/private/bionic_futex.h [new file with mode: 0644]