Just another Perl shrine | |
PerlMonks |
Re^3: Where does the 6th process come from?by marioroy (Prior) |
on Apr 22, 2017 at 17:53 UTC ( [id://1188631]=note: print w/replies, xml ) | Need Help?? |
... if present meaning if threads is loaded inside the script.
On Unix platforms including Cygwin, one can use threads and threads::shared alongside MCE::Shared. In that case, MCE::Shared spawns a thread for the shared-manager. For the Windows platform, the MCE modules loads threads automatically for extra stability. Below, more clarity for the recommended modules. (Q) Why is Sereal loaded transparently? (A) The main reason is for extra performance. To ensure minimum memory consumption, there's no reason to load the Storable module if Sereal is available in Perl. This is handled transparently. (Q) Why is IO::FDPass beneficial? (A) Being able to construct a shared condvar, handle, or queue while the shared-manager is running greatly adds to the ease-of-use. These involve handles behind the scene. Basically, am able to send the relevant fd descriptors to the shared-manager. Without FDPass, one must be careful to construct these shared objects first and later start the shared-manager manually.
In Section
Seekers of Perl Wisdom
|
|