Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
remove node_io_watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Zinkovsky committed Oct 27, 2011
1 parent 173f91c commit cc2ac1c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 244 deletions.
1 change: 0 additions & 1 deletion node.gyp
Expand Up @@ -165,7 +165,6 @@
'sources': [
'src/node_signal_watcher.cc',
'src/node_stat_watcher.cc',
'src/node_io_watcher.cc',
]
}],
[ 'OS=="mac"', {
Expand Down
10 changes: 0 additions & 10 deletions src/node.cc
Expand Up @@ -70,9 +70,6 @@ typedef int mode_t;

#include "platform.h"
#include <node_buffer.h>
#ifdef __POSIX__
# include <node_io_watcher.h>
#endif
#include <node_file.h>
#include <node_http_parser.h>
#ifdef __POSIX__
Expand Down Expand Up @@ -1890,13 +1887,6 @@ static Handle<Value> Binding(const Arguments& args) {
DefineConstants(exports);
binding_cache->Set(module, exports);

#ifdef __POSIX__
} else if (!strcmp(*module_v, "io_watcher")) {
exports = Object::New();
IOWatcher::Initialize(exports);
binding_cache->Set(module, exports);
#endif

} else if (!strcmp(*module_v, "natives")) {
exports = Object::New();
DefineJavaScript(exports);
Expand Down
168 changes: 0 additions & 168 deletions src/node_io_watcher.cc

This file was deleted.

64 changes: 0 additions & 64 deletions src/node_io_watcher.h

This file was deleted.

1 change: 0 additions & 1 deletion wscript
Expand Up @@ -909,7 +909,6 @@ def build(bld):
if not sys.platform.startswith("win32"):
node.source += " src/node_signal_watcher.cc "
node.source += " src/node_stat_watcher.cc "
node.source += " src/node_io_watcher.cc "

node.source += bld.env["PLATFORM_FILE"]
if not product_type_is_lib:
Expand Down

1 comment on commit cc2ac1c

@ry
Copy link

@ry ry commented on cc2ac1c Oct 28, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to keep io watcher for unix addons that need to watch particular fds for readablity/writablity. Please revert.

cc @igorzi @bnoordhuis

Please sign in to comment.