OSDN Git Service

Reserve some space in sem_t for the future.
authorCalin Juravle <calin@google.com>
Tue, 6 May 2014 15:24:27 +0000 (16:24 +0100)
committerCalin Juravle <calin@google.com>
Tue, 6 May 2014 15:24:27 +0000 (16:24 +0100)
commit0686d5e26fd1949fbfd33a2441f750791bc87091
tree3f93031e62f23ad0426a4f3c1dce65dc15143ff2
parent9b5ee4aa85cf55467eb9a749b6602f6f2ba1cfc6
Reserve some space in sem_t for the future.

Reserve 12 more bytes in sem_t to give room for future implementation
improvements. This gets us to a 16 bytes sem_t. Glibc uses 32 bytes (16
actual use + 16 reserved), while OpenBSD has 16 bytes (out of which 4
are for padding).

Bug: 14587103
Bug: 12875898
Change-Id: Id835cc5abf874c651e6b5ad5b8f29c9d6ab08d5a
libc/include/semaphore.h