projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc0c27
)
Add process.features.isolates
author
Ryan Dahl
<ry@tinyclouds.org>
Tue, 27 Dec 2011 21:06:25 +0000
(13:06 -0800)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 29 Dec 2011 00:56:11 +0000
(
01:56
+0100)
src/node.cc
patch
|
blob
|
history
diff --git
a/src/node.cc
b/src/node.cc
index
4cedfbc
..
94b8c44
100644
(file)
--- a/
src/node.cc
+++ b/
src/node.cc
@@
-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);
}