X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FIPC-MorseSignals.git;a=blobdiff_plain;f=README;h=d8c95f92345442443e893d7c8612e7b33ea9cbb9;hp=698de2898b52aa5469373e22fcaaf7fafda47169;hb=5a3dc36cc362beb37354a407921d311cef15c172;hpb=94047b12c2983ae1ed0a4f163127ca86abdd254b diff --git a/README b/README index 698de28..d8c95f9 100644 --- a/README +++ b/README @@ -2,13 +2,13 @@ NAME IPC::MorseSignals - Communicate between processes with Morse signals. VERSION - Version 0.15 + Version 0.16 SYNOPSIS # In the sender process use IPC::MorseSignals::Emitter; - my $deuce = new IPC::MorseSignals::Emitter speed => 1024; + my $deuce = IPC::MorseSignals::Emitter->new(speed => 1024); $deuce->post('HLAGH') for 1 .. 3; $deuce->send($pid); @@ -18,9 +18,9 @@ SYNOPSIS use IPC::MorseSignals::Receiver; local %SIG; - my $pants = new IPC::MorseSignals::Receiver \%SIG, done => sub { + my $pants = IPC::MorseSignals::Receiver->new(\%SIG, done => sub { print STDERR "GOT $_[1]\n"; - }; + }); DESCRIPTION This module implements a rare form of IPC by sending Morse-like signals @@ -32,6 +32,13 @@ DESCRIPTION But, seriously, use something else for your IPC. :) +CAVEATS + When the same signal is sent several times in a row to a process, the + POSIX standard does not guarantee that the relevant signal handler will + be called for each of the notifications. This will result in malformed + messages if the transfer speed is so high that the operating system does + not have the time to call the signal handler for each bit. + DEPENDENCIES You need the complete Bit::MorseSignals distribution. @@ -51,8 +58,7 @@ SEE ALSO AUTHOR Vincent Pit, "", . - You can contact me by mail or on #perl @ FreeNode (vincent or - Prof_Vince). + You can contact me by mail or on "irc.perl.org" (vincent). BUGS Please report any bugs or feature requests to "bug-ipc-morsesignals at @@ -71,7 +77,7 @@ ACKNOWLEDGEMENTS your IPC needs. :) COPYRIGHT & LICENSE - Copyright 2007-2008 Vincent Pit, all rights reserved. + Copyright 2007,2008,2013 Vincent Pit, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.