Calling MCE::Shared->init() is recommended whenever running many workers simultaneously. This is a one-time call which makes a request to the shared-manager process for a data channel to use for IPC. Init is called automatically by MCE workers so not necessary at the application level.
Init is helpful for extra performance and applies to running with many workers only.
elsif ( $pid == 0 ) { # Child MCE::Shared->init(); ... }
Regards, Mario.
In reply to Re^2: IPC:Shareable: Not an array reference
by marioroy
in thread IPC:Shareable: Not an array reference
by Bloehdian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |