Browse Source

Add process.features.isolates

v0.7.4-release
Ryan Dahl 13 years ago
committed by Ben Noordhuis
parent
commit
649dbbbd83
  1. 9
      src/node.cc

9
src/node.cc

@ -1986,6 +1986,15 @@ static Handle<Object> GetFeatures() {
obj->Set(String::NewSymbol("tls"),
Boolean::New(get_builtin_module("crypto") != NULL));
obj->Set(String::NewSymbol("isolates"),
#if HAVE_ISOLATES
True()
#else
False()
#endif
);
return scope.Close(obj);
}

Loading…
Cancel
Save