Ben Noordhuis
d5d043f2d7
handle_wrap: guard against uninitialized handle or double close
13 years ago
Ryan Dahl
20ba454ef9
Add node::Loop() and don't inc node_isolate.h in *.cc
node::Loop() replaces the NODE_LOOP macro. This avoids hitting
v8::Isolate::GetCurrent() for each loop lookup when HAVE_ISOLATE==0
13 years ago
Ryan Dahl
f168f7d702
Remove node_isolate.h from node.h
13 years ago
Ben Noordhuis
356992fe4d
isolates: isolate-ify the main loop
13 years ago
Ryan Dahl
9d792f3183
Add node::Loop() and don't inc node_isolate.h in *.cc
node::Loop() replaces the NODE_LOOP macro. This avoids hitting
v8::Isolate::GetCurrent() for each loop lookup when HAVE_ISOLATE==0
13 years ago
Ryan Dahl
87bb848268
Remove node_isolate.h from node.h
13 years ago
Ben Noordhuis
c3346f6760
isolates: isolate-ify the main loop
13 years ago
isaacs
cf20b6bf65
Fix #2257 pause/resume semantics for stdin
This makes it so that the stdin TTY-wrap stream gets ref'ed on
.resume() and unref'ed on .pause()
The semantics of the names "pause" and "resume" are a bit weird, but the
important thing is that this corrects an API change from 0.4 -> 0.6
which made it impossible to read from stdin multiple times, without
knowing when it might end up being closed. If no one has it open, this
lets the process die naturally.
LGTM'd by @ry
13 years ago
Ryan Dahl
60818b957c
Add missing copyright headers
13 years ago
Ryan Dahl
6cc42927d8
Display sys_errno when UV_UNKNOWN is returned
13 years ago
Ryan Dahl
7e62bc9828
Move process.stdout unref hack to handle_wrap.cc
See #1726
13 years ago
Igor Zinkovsky
187fe27a6e
stdio binding + javascript to enable process.stdin.listen()
14 years ago
Ryan Dahl
133036fdad
upgrade libuv to 6e50576
14 years ago
Ryan Dahl
0c7bf8132e
Abstract out HandleWrap class
14 years ago