From 649dbbbd833bd29d69d76afa74f5afd453003640 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 27 Dec 2011 13:06:25 -0800 Subject: [PATCH] Add process.features.isolates --- src/node.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/node.cc b/src/node.cc index 4cedfbc0186..94b8c44680d 100644 --- a/src/node.cc +++ b/src/node.cc @@ -1986,6 +1986,15 @@ static Handle 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); }