--- libeio/eio.pod 2011/09/26 17:10:10 1.29 +++ libeio/eio.pod 2013/01/24 06:26:18 1.33 @@ -27,7 +27,7 @@ It also offers wrappers around C (Solaris, Linux, HP-UX and FreeBSD, with emulation on other platforms) and C (Linux, with -emulation elsewhere>). +emulation elsewhere). The goal is to enable you to write fully non-blocking programs. For example, in a game server, you would not want to freeze for a few seconds @@ -632,7 +632,7 @@ =item eio_mtouch (void *addr, size_t length, int flags, int pri, eio_cb cb, void *data) -Reads (C) or modifies (C) or modifies (C) the given memory area, page-wise, that is, it reads (or reads and writes back) the first octet of every page that spans the memory area. @@ -766,7 +766,7 @@ =item 3) open callback adds more requests In the open callback, if the open was not successful, copy C<< -req->errorno >> to C<< grp->errorno >> and set C<< grp->errorno >> to +req->errorno >> to C<< grp->errorno >> and set C<< grp->result >> to C<-1> to signal an error. Otherwise, malloc some memory or so and issue a read request, adding the @@ -774,10 +774,10 @@ =item 4) continue issuing requests till finished -In the real callback, check for errors and possibly continue with +In the read callback, check for errors and possibly continue with C or any other eio request in the same way. -As soon as no new requests are added the group request will finish. Make +As soon as no new requests are added, the group request will finish. Make sure you I set C<< grp->result >> to some sensible value. =back @@ -790,8 +790,6 @@ void eio_grp_limit (eio_req *grp, int limit); -=back - =head1 LOW LEVEL REQUEST API @@ -928,10 +926,8 @@ requests, you might want to increase this. If this symbol is undefined (the default) then libeio will use its default -stack size (C currently). If it is defined, but -C<0>, then the default operating system stack size will be used. In all -other cases, the value must be an expression that evaluates to the desired -stack size. +stack size (C currently). In all other cases, the +value must be an expression that evaluates to the desired stack size. =back