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] |
On 11 Sep 2015 14:57, Paul E. Murphy wrote: > + /* Check environment to see if we should enable LE. */ > + for (; *environ != NULL; environ++) > + if (strcmp (*environ, "GLIBC_PTHREAD_ELISION_ENABLE=yes") == 0) > + __pthread_force_elision = __libc_enable_secure ? 0 : elision_available; there should be a new internal header for checking the values of tunables so that we don't end up with lots of duplication (like this patch already does). for the functions that cannot call getenv, there should be a static inline function that they can call (which i imagine would look like this). -mike
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |