mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
Example removed from real code
git-svn-id: https://svn.fhem.de/fhem/trunk@2385 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d3e3226aca
commit
a62471a6bb
@ -9,12 +9,12 @@ use IO::Socket::INET;
|
|||||||
sub BlockingCall($$$$);
|
sub BlockingCall($$$$);
|
||||||
|
|
||||||
|
|
||||||
|
=pod
|
||||||
### Usage:
|
### Usage:
|
||||||
sub TestBlocking() { BlockingCall("DoSleep", 5, "SleepDone", 8); }
|
sub TestBlocking() { BlockingCall("DoSleep", 5, "SleepDone", 8); }
|
||||||
sub DoSleep($) { sleep(shift); return "I'm done"; }
|
sub DoSleep($) { sleep(shift); return "I'm done"; }
|
||||||
sub SleepDone($) { Log 1, "SleepDone: " . shift; }
|
sub SleepDone($) { Log 1, "SleepDone: " . shift; }
|
||||||
|
|
||||||
=pod
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user