Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Add process.features.isolates
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Dec 27, 2011
1 parent 533a455 commit 036e593
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/node.cc
Expand Up @@ -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);
}

Expand Down

0 comments on commit 036e593

Please sign in to comment.