On Nov 11, 2014, at 8:45 AM, Andreas Marschke wrote:

> I've looked at process.config which is like this in my environment: 
> 
> { target_defaults:
>    { cflags: [],
>      default_configuration: 'Release',
>      defines: [],
>      include_dirs: [],
>      libraries:
>       [ '-lz',
>         '-lcares',
>         '-lv8',
>         '-lssl',
>         '-lcrypto' ] },
>   variables:
>    { clang: 0,
>      gcc_version: 49,
>      host_arch: 'x64',
>      node_install_npm: false,
>      node_prefix: '/usr',
>      node_shared_cares: true,
>      node_shared_http_parser: false,
>      node_shared_libuv: false,
>      node_shared_openssl: true,
>      node_shared_v8: true,
>      node_shared_zlib: true,
>      node_tag: '',
>      node_unsafe_optimizations: 0,
>      node_use_dtrace: false,
>      node_use_etw: false,
>      node_use_openssl: true,
>      node_use_perfctr: false,
>      node_use_systemtap: false,
>      python: '/usr/bin/python',
>      target_arch: 'x64',
>      v8_enable_gdbjit: 0,
>      v8_no_strict_aliasing: 1,
>      v8_use_snapshot: false } }
> 
> And looking at this I wondered: Does node (during runtime!) acknowledge that 
> you've change something there? Such as adding the key and value:
> 
>     process.conf.variables.node_use_idle_notification = false
> 
> Does node care about changes like this? Are there viable reasons to NOT do 
> this?

The documentation says this is "An Object containing the JavaScript 
representation of the configure options that were used to compile the current 
node executable"

http://nodejs.org/api/process.html#process_process_config

As such I would assume it is treated as read-only, or that if you are able to 
make any changes to it, it would be pointless and confusing to do so since it 
would have no effect.


-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/7AE6E0E0-DD81-4F46-86C7-EB0F6D80BB4F%40ryandesign.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to