diff options
-rw-r--r-- | eio.h | 2 | ||||
-rw-r--r-- | eio.pod | 2 | ||||
-rw-r--r-- | xthread.h | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -251,7 +251,7 @@ void eio_set_idle_timeout (unsigned int seconds); unsigned int eio_nreqs (void); /* number of requests in-flight */ unsigned int eio_nready (void); /* number of not-yet handled requests */ -unsigned int eio_npending (void); /* numbe rof finished but unhandled requests */ +unsigned int eio_npending (void); /* number of finished but unhandled requests */ unsigned int eio_nthreads (void); /* number of worker threads in use currently */ /*****************************************************************************/ @@ -133,7 +133,7 @@ If C<eio_poll ()> is configured to not handle all results in one go (i.e. it returns C<-1>) then you should start an idle watcher that calls C<eio_poll> until it returns something C<!= -1>. -A full-featured conenctor between libeio and libev would look as follows +A full-featured connector between libeio and libev would look as follows (if C<eio_poll> is handling all requests, it can of course be simplified a lot by removing the idle watcher logic): @@ -2,7 +2,7 @@ #define XTHREAD_H_ /* whether word reads are potentially non-atomic. - * this is conservatice, likely most arches this runs + * this is conservative, likely most arches this runs * on have atomic word read/writes. */ #ifndef WORDACCESS_UNSAFE |