04-01-2019
Great find - enjoyed watching!
Thanks!
This User Gave Thanks to vgersh99 For This Post:
9 More Discussions You Might Find Interesting
1. IP Networking
Found this archive on the net: TCP-IP discussions from 1982 to 1991.... very interesting reading!!
http://www-mice.cs.ucl.ac.uk/multimedia/misc/tcp_ip/ (0 Replies)
Discussion started by: Neo
0 Replies
2. UNIX for Dummies Questions & Answers
Hi there
I am trying to find out what processes were running on my sun solaris 5.8 server yesterday.
There are no jobs running on the server which are monitoring/logging processes on the server.
Is there a way to find this out - is there an operating system log for processes?
Thanks in... (4 Replies)
Discussion started by: niamh
4 Replies
3. UNIX for Dummies Questions & Answers
Hello
any body knows a website that can Purchase and download Video training for unix ?? (1 Reply)
Discussion started by: wickedsoul
1 Replies
4. AIX
Early this morning our sar reports show that WIO on the system was over 50% for about an hour. We also had some users complain about response time problems during this time. Is there a way I can go back and check what disks were busy during this time (something like topas but for historical data)? (1 Reply)
Discussion started by: 2dumb
1 Replies
5. IP Networking
why Network Byte Order is Big-Endian, (not a Little-Endian, like most modern PCs use) ? (3 Replies)
Discussion started by: variety
3 Replies
6. Red Hat
are there linux commands or applications that i can use to find out what application was using a certain port at a certain time? there's teamquest,but it doesnt have this kind of information.
TIA. (2 Replies)
Discussion started by: bumblebee
2 Replies
7. Shell Programming and Scripting
Hello,
I have a directory /files/storage in which I have files having file name in format as follows
sabclin.yyyymmdd.0 e.g. sabclin.20110621.0 etc.
I want to copy all files that have a date in their file name i.e. yyyymmdd from today till 300 days in the past to another directory, I need... (3 Replies)
Discussion started by: srattani
3 Replies
8. What is on Your Mind?
Video: What Do You Do for a Living? @UNIX.com
https://youtu.be/eTddtFa_Z_g
We asked our users at UNIX.com what they do for a living, and this was their top three replies in 1080 HD video.
Shout-outs to quotes in the video from forum members Akshay Hegde, geeky404, ni2 and joeyg.
Here... (0 Replies)
Discussion started by: Neo
0 Replies
9. What is on Your Mind?
Food for thought!
"""
Everybody in this country should learn to program a computer...because it teaches you how to think.
"""
Steve Jobs.
So, SO, true!
Merry XMAS all... (4 Replies)
Discussion started by: wisecracker
4 Replies
LEARN ABOUT DEBIAN
mojo::reactor::poll
Mojo::Reactor::Poll(3pm) User Contributed Perl Documentation Mojo::Reactor::Poll(3pm)
NAME
Mojo::Reactor::Poll - Low level event reactor with poll support
SYNOPSIS
use Mojo::Reactor::Poll;
# Watch if handle becomes readable or writable
my $reactor = Mojo::Reactor::Poll->new;
$reactor->io($handle => sub {
my ($reactor, $writable) = @_;
say $writable ? 'Handle is writable' : 'Handle is readable';
});
# Add a timer
$reactor->timer(15 => sub {
my $reactor = shift;
$reactor->remove($handle);
say 'Timeout!';
});
# Start reactor if necessary
$reactor->start unless $reactor->is_running;
DESCRIPTION
Mojo::Reactor::Poll is a low level event reactor based on IO::Poll. Note that this reactor was designed for maximum portability, and
therefore does not use a monotonic clock to handle time jumps.
EVENTS
Mojo::Reactor::Poll inherits all events from Mojo::Reactor.
METHODS
Mojo::Reactor::Poll inherits all methods from Mojo::Reactor and implements the following new ones.
"io"
$reactor = $reactor->io($handle => sub {...});
Watch handle for I/O events, invoking the callback whenever handle becomes readable or writable.
"is_running"
my $success = $reactor->is_running;
Check if reactor is running.
"one_tick"
$reactor->one_tick;
Run reactor until an event occurs or no events are being watched anymore. Note that this method can recurse back into the reactor, so you
need to be careful.
"recurring"
my $id = $reactor->recurring(0.25 => sub {...});
Create a new recurring timer, invoking the callback repeatedly after a given amount of time in seconds.
"remove"
my $success = $reactor->remove($handle);
my $success = $reactor->remove($id);
Remove handle or timer.
"start"
$reactor->start;
Start watching for I/O and timer events, this will block until "stop" is called or no events are being watched anymore.
"stop"
$reactor->stop;
Stop watching for I/O and timer events.
"timer"
my $id = $reactor->timer(0.5 => sub {...});
Create a new timer, invoking the callback after a given amount of time in seconds.
"watch"
$reactor = $reactor->watch($handle, $readable, $writable);
Change I/O events to watch handle for with "true" and "false" values.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Reactor::Poll(3pm)