OSDN Git Service

Leave more space for extensions in pthread_rwlockattr_t
authorCalin Juravle <calin@google.com>
Tue, 6 May 2014 12:39:47 +0000 (13:39 +0100)
committerCalin Juravle <calin@google.com>
Tue, 6 May 2014 12:40:24 +0000 (13:40 +0100)
commit7c435f2415f4cdc97fbb7739f70ae5e84f2e2cb0
treea3825c75b8acc33445af83dfbcf54ec958f5f2f6
parent9b5ee4aa85cf55467eb9a749b6602f6f2ba1cfc6
Leave more space for extensions in pthread_rwlockattr_t

Change pthread_rwlockattr_t from int to long. On LP64 this gives us more
room for extensibility since longs are 8 bytes. glibc also reserves 8
bytes for this.

Bug: 14582681
Bug: 12875898
Change-Id: I55d599be0fdbbf0cb55957ec0ea62ab042bdee94
libc/include/pthread.h