Disable IdleWatcher
This commit is contained in:
parent
4e7e2f8724
commit
a98d23d905
@ -21,7 +21,10 @@
|
|||||||
#include <node_cares.h>
|
#include <node_cares.h>
|
||||||
#include <node_net.h>
|
#include <node_net.h>
|
||||||
#include <node_file.h>
|
#include <node_file.h>
|
||||||
#include <node_idle_watcher.h>
|
#if 0
|
||||||
|
// not in use
|
||||||
|
# include <node_idle_watcher.h>
|
||||||
|
#endif
|
||||||
#include <node_http.h>
|
#include <node_http.h>
|
||||||
#include <node_http_parser.h>
|
#include <node_http_parser.h>
|
||||||
#include <node_signal_watcher.h>
|
#include <node_signal_watcher.h>
|
||||||
@ -1432,7 +1435,8 @@ static void Load(int argc, char *argv[]) {
|
|||||||
|
|
||||||
// Initialize the C++ modules..................filename of module
|
// Initialize the C++ modules..................filename of module
|
||||||
IOWatcher::Initialize(process); // io_watcher.cc
|
IOWatcher::Initialize(process); // io_watcher.cc
|
||||||
IdleWatcher::Initialize(process); // idle_watcher.cc
|
// Not in use at the moment.
|
||||||
|
//IdleWatcher::Initialize(process); // idle_watcher.cc
|
||||||
Timer::Initialize(process); // timer.cc
|
Timer::Initialize(process); // timer.cc
|
||||||
DefineConstants(process); // constants.cc
|
DefineConstants(process); // constants.cc
|
||||||
|
|
||||||
|
1
wscript
1
wscript
@ -385,7 +385,6 @@ def build(bld):
|
|||||||
src/node_stat_watcher.cc
|
src/node_stat_watcher.cc
|
||||||
src/node_stdio.cc
|
src/node_stdio.cc
|
||||||
src/node_timer.cc
|
src/node_timer.cc
|
||||||
src/node_idle_watcher.cc
|
|
||||||
"""
|
"""
|
||||||
if not bld.env["USE_SYSTEM"]:
|
if not bld.env["USE_SYSTEM"]:
|
||||||
node.includes = """
|
node.includes = """
|
||||||
|
Loading…
x
Reference in New Issue
Block a user