A channel class providing queue-like and two-way communication for processes and threads. Locking is handled using MCE::Mutex. The API is described in MCE::Channel. new use MCE::Channel; # The default is tuned for one producer and many consumers. my ...
MARIOROY/MCE-1.874 - 18 Aug 2020 20:56:15 UTCA pipe-socket implementation for "MCE::Mutex". The API is described in MCE::Mutex. new lock lock_exclusive lock_shared unlock synchronize enter timedwait...
MARIOROY/MCE-1.874 - 18 Aug 2020 20:56:15 UTCA socket implementation based on "MCE::Mutex". The secondary lock is accessed by calling methods with the 2 suffix. The API is described in MCE::Mutex. construction new my $mutex = MCE::Mutex->new( impl => 'Channel2' ); primary lock lock lock_exclusi...
MARIOROY/MCE-1.874 - 18 Aug 2020 20:56:15 UTCThis module implements locking methods that can be used to coordinate access to shared data from multiple workers spawned as processes or threads. The inspiration for this module came from reading Mutex for Ruby....
MARIOROY/MCE-1.874 - 18 Aug 2020 20:56:15 UTCA MCE::Channel object is a container for sending and receiving data using socketpair handles. Serialization is provided by Sereal if available. Defaults to Storable otherwise. Excluding the "Simple" implementation, both ends of the "channel" support ...
MARIOROY/MCE-1.874 - 18 Aug 2020 20:56:15 UTC