Add process.features.isolates

pull/5370/head
Ryan Dahl 2011-12-27 13:06:25 -08:00
parent 533a455274
commit 036e59394a
1 changed files with 9 additions and 0 deletions

View File

@ -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);
}