IPC::MPS

Message Passing Style of Inter-process communication
Download

IPC::MPS Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Nick Kostirya
  • Publisher web site:
  • http://search.cpan.org/~kni/

IPC::MPS Tags


IPC::MPS Description

IPC::MPS is a Perl module that holds the messaging system between parental and child processes, and between child processes, that have the same parent.Moto: inter-process communication without blocking.SYNOPSIS use IPC::MPS; my $vpid = spawn { receive { msg ping => sub { my ($from, $i) = @_; print "Ping ", $i, " from $from\n"; snd($from, "pong", $i); }; }; }; snd($vpid, "ping", 1); receive { msg pong => sub { my ($from, $i) = @_; print "Pong $i from $from\n"; if ($i < 3) { snd($from, "ping", $i + 1); } else { exit; } }; };Product's homepage


IPC::MPS Related Software