This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [RFC] powerpc: optimizing random() and POSIX question


Hi,

Wouldn't the easiest and safest option to be just add the single-threaded check
so 99% of applications just bypass the locks?

Also I would strongly suggest to optimize the generic code first - target-specific
optimizations are almost always counter productive in the long term.

Cheers,
Wilco

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