On Tue, Nov 11, 2014 at 3:45 PM, Andreas Marschke <[email protected]> wrote: > Hi! > > 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? > > Thanks in advance! > > Cheers, > > Andreas Marschke.
process.config is a copy of config.gypi, baked into the binary at compile time. That file is created by ./configure and contains build time flags. As such, mutating process.config does absolutely nothing. -- 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/CAHQurc_ECXGgCv2XF-_1aE8qu%3DoKUJT5%3DfDze7gkzNt74yKXOw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
