9a6012e adds a global Locker to improve support for 3rd party libraries which need to use threading. This is a quick addon which demonstrates use of Locker. Only works on OS's which support pthreads. Also I'm not sure I did the gyp file correctly. I just copied it from the helloworld example and added the pthread linker flag. I actually built this manually on OS X to test with: g++ -I<path/to/node/include/node> -m32 -bundle \ -undefined dynamic_lookup binding.cc -lpthread -o binding.node
`process.debug_port` is useful for changing debugger port in runtime, before starting it (via SIGUSR1). Using `--port=` argument for debugger repl, tests will run debugger server on a `common.PORT` (as it usually does for any other servers). `process._debugEnd()` stops debugger and its server. * debugger: implemented process._debugEnd(), `node debug --port=5858 app.js` * test: start debugger repl on common.PORT * fixes #2613 * fixes #2614
11d1eca added a v8 locker to ease development of 3rd party threading extensions but it created a condition which would cause node to exit uncleanly while in debug mode; it was reverted in 7543c38. The problem here is that the Locker was being disposed after V8 was torn down. Adding some scoping fixes that.
* Upgrade V8 to 3.9.2 * Revert support for isolates. (Ben Noordhuis) * cluster: Cleanup docs, event handling, and process.disconnect (Andreas Madsen) * gyp_addon: link with node.lib on Windows (Nathan Rajlich) * http: fix case where http-parser is freed twice (koichik) * Windows: disable RTTI and exceptions (Bert Belder)