aboutsummaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-02-03 16:32:00 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2012-02-06 15:44:42 +0100
commit74a8215a8699f89ee4b82ca616a4eafa3b11203b (patch)
tree1f2c8a7c47eae80a043c4b3ccf7372f4e8c7e292 /src/node_internals.h
parenta9723df1b76777899a3819839cb7e8f0e2efaef1 (diff)
downloadandroid-node-v8-74a8215a8699f89ee4b82ca616a4eafa3b11203b.tar.gz
android-node-v8-74a8215a8699f89ee4b82ca616a4eafa3b11203b.tar.bz2
android-node-v8-74a8215a8699f89ee4b82ca616a4eafa3b11203b.zip
Revert support for isolates.
It was decided that the performance benefits that isolates offer (faster spin-up times for worker processes, faster inter-worker communication, possibly a lower memory footprint) are not actual bottlenecks for most people and do not outweigh the potential stability issues and intrusive changes to the code base that first-class support for isolates requires. Hence, this commit backs out all isolates-related changes. Good bye, isolates. We hardly knew ye.
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index 11dc8fa3a9..89c949946e 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -24,13 +24,6 @@
namespace node {
-// This function starts an Isolate. This function is defined in node.cc
-// currently so that we minimize the diff between master and v0.6 for easy
-// merging. In the future, when v0.6 is extinct, StartThread should be moved
-// to node_isolate.cc.
-class Isolate;
-void StartThread(Isolate* isolate, int argc, char** argv);
-
#ifndef offset_of
// g++ in strict mode complains loudly about the system offsetof() macro
// because it uses NULL as the base address.
@@ -47,14 +40,6 @@ void StartThread(Isolate* isolate, int argc, char** argv);
#define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0]))
#endif
-#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
- TypeName(const TypeName&); \
- void operator=(const TypeName&)
-
-#define DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName) \
- TypeName(); \
- DISALLOW_COPY_AND_ASSIGN(TypeName)
-
} // namespace node
#endif // SRC_NODE_INTERNALS_H_