More cluster event consistency
authorisaacs <i@izs.me>
Sat, 5 May 2012 22:07:58 +0000 (15:07 -0700)
committerisaacs <i@izs.me>
Sat, 5 May 2012 22:20:10 +0000 (15:20 -0700)
commit3d84c3db257dfa1b92476cc6a50abf9c6e4b0583
treed233982597d9910c8eb0e202b4114aef622cfbf4
parent1930772693d70998b4d2aab8bcd6972e7ec2d26b
More cluster event consistency

Regarding discussion in #3198.  Passing the worker as an argument
to an event emitted on the worker is redundant, and an unnecessary
break in consistency vs the events on the ChildProcess objects.

It was removed from 'exit', but 'listening' and others were
overlooked.  This corrects that oversight.
doc/api/cluster.markdown
lib/cluster.js
test/simple/test-cluster-basic.js