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: Consensus: Tuning runtime behaviour with environment variables.


On 05/30/2013 01:43 AM, OndÅej BÃlka wrote:
> On Wed, May 29, 2013 at 06:17:16PM -0400, Carlos O'Donell wrote:
>> On 05/29/2013 05:59 PM, OndÅej BÃlka wrote:
>>> Needs comment that changing runtime behaviour by setting its setenv is
>>> not supported(Unless we add small performance penalty for each setenv).
>>
>> No, using setenv will never change the behaviour once the process
>> is started. At that point your only option would be a new API that
>> exposes tunables in a thread-safe way with explicitly defined
>> semantics.
>>
> Well I meant exactly that and that you need add this to user
> documentation. 

Agreed. Thanks for the clarification.

The text for env var support reads:

"Changing any of the env vars that control runtime tuning will have no 
effect on the currently executing process."

http://sourceware.org/glibc/wiki/TuningLibraryRuntimeBehavior

Cheers,
Carlos.


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