cluster: restructure to same prototype for cluster child
Since rr
and shared
both belongs to the same prototype declaration
and differes only in the handler declaration, this can be abstracted to
a same type of function arguments passing. Motivation behind this is they are
just extended handlers performing the same basic task so the layout (function structure)
should be consistent.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines