This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


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] Unify pthread_spin_[try]lock implementations.


On 08/15/2012 11:10 AM, Roland McGrath wrote:
It seems to me that SPIN_LOCK_READS_BETWEEN_CMPXCHG may have the
property that varying it at runtime based on the characteristics of the
particular chip running the application might be worthwhile.

Nothing prevents a machine from defining the macro to use a global variable that is set by some machine-specific initialization code.
Understood. Just wanted to raise the issue. No pressing need to resolve it now, but it's on Red Hat's radar and now it's on the community's radar :-)

jeff


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