X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/bd14babf134e551f28f49193bf20705933c772c8..71217f48ea498d7292ca3bf17b8bffe1ab97e642:/ev.pod?ds=sidebyside diff --git a/ev.pod b/ev.pod index 43db80f..8b57eb4 100644 --- a/ev.pod +++ b/ev.pod @@ -4,10 +4,12 @@ libev - a high performance full-featured event loop written in C =head1 SYNOPSIS - /* this is the only header you need */ #include - /* what follows is a fully working example program */ +=head1 EXAMPLE PROGRAM + + #include + ev_io stdin_watcher; ev_timer timeout_watcher; @@ -63,23 +65,28 @@ watcher. =head1 FEATURES -Libev supports select, poll, the linux-specific epoll and the bsd-specific -kqueue mechanisms for file descriptor events, relative timers, absolute -timers with customised rescheduling, signal events, process status change -events (related to SIGCHLD), and event watchers dealing with the event -loop mechanism itself (idle, prepare and check watchers). It also is quite -fast (see this L comparing -it to libevent for example). +Libev supports C