process: add _getActiveHandles(), _getActiveRequests()
authorBen Noordhuis <info@bnoordhuis.nl>
Sat, 28 Apr 2012 16:45:10 +0000 (18:45 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 15 May 2012 19:00:27 +0000 (21:00 +0200)
commit5f0406534ca4a465d11892a747a38c0e5c884cf2
treed77de6abca80b95d2729ecdb9d72e0f5b5370780
parent636add246ca78be5c374cfd951c76de7f1010fb9
process: add _getActiveHandles(), _getActiveRequests()

* process._getActiveHandles() returns a list containing all active handles
  (timers, sockets, etc.) that have not been unref'd.

* process._getActiveRequests() returns a list of active requests (in-flight
  actions like connecting to a remote host, writing data to a socket, etc.).
LICENSE
node.gyp
src/handle_wrap.cc
src/handle_wrap.h
src/ngx-queue.h [new file with mode: 0644]
src/node.cc
src/req_wrap.h
test/simple/test-process-active-wraps.js [new file with mode: 0644]