Skip to content

Commit

Permalink
Add process.features.isolates
Browse files Browse the repository at this point in the history
  • Loading branch information
ry authored and bnoordhuis committed Dec 29, 2011
1 parent 5fc0c27 commit 649dbbb
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 649dbbb

Please sign in to comment.