This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] clean up PPC for private futex changes.


On Mon, Jul 23, 2007 at 05:09:04PM -0500, Steven Munroe wrote:
> But how can header.private_futex be set in the absence of  
> __ASSUME_PRIVATE_FUTEX?

header.private_futex is only ever present when
!defined __ASSUME_PRIVATE_FUTEX
and contains either 0 (when private futexes are not supported)
or FUTEX_PRIVATE_FLAG (== 128, when private futexes are supported).
This is not needed when __ASSUME_PRIVATE_FUTEX is defined - we
assume private futexes are supported and thus header.private_futex
would be always 128.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]