isolates: implement message passing
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 5 Jan 2012 00:02:59 +0000 (01:02 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Thu, 5 Jan 2012 23:42:55 +0000 (00:42 +0100)
commitdadc30318f812587405dd58d9a5d10ce392710b3
tree4157f05ce5e90f88663c15f796fc4b2b9d7088e1
parent075acfa2d6c823ec9ccedba5fdbca172752d1e4a
isolates: implement message passing

Parent and child isolates can now pass arbitrary binary messages between each
other. The messages are sent and received through a thread-safe queue that
wakes up the event loop of the receiving thread.
src/node.cc
src/node_internals.h
src/node_isolate.cc
src/node_isolate.h
test/simple/test-isolates-ping-pong.js [new file with mode: 0644]
test/simple/test-isolates.js