X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/bd14babf134e551f28f49193bf20705933c772c8..1e251ffd9e2bf720df7759c2eb3c807f5b0d474f:/ev.pod?ds=inline diff --git a/ev.pod b/ev.pod index 43db80f..ed0ac1b 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,29 @@ 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