Add process.features.isolates

This commit is contained in:
Ryan Dahl authored and Ben Noordhuis committed 2011-12-29 01:56:11 +01:00
1 parent 5fc0c27d5c
commit 649dbbbd83
1 file changed
+9
+9
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);
}