ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/eio.c
(Generate patch)

Comparing libeio/eio.c (file contents):
Revision 1.100 by root, Tue Jul 26 11:32:16 2011 UTC vs.
Revision 1.101 by root, Wed Aug 3 15:25:38 2011 UTC

324static void (*done_poll_cb) (void); 324static void (*done_poll_cb) (void);
325 325
326static unsigned int max_poll_time; /* reslock */ 326static unsigned int max_poll_time; /* reslock */
327static unsigned int max_poll_reqs; /* reslock */ 327static unsigned int max_poll_reqs; /* reslock */
328 328
329static volatile unsigned int nreqs; /* reqlock */ 329static unsigned int nreqs; /* reqlock */
330static volatile unsigned int nready; /* reqlock */ 330static unsigned int nready; /* reqlock */
331static volatile unsigned int npending; /* reqlock */ 331static unsigned int npending; /* reqlock */
332static volatile unsigned int max_idle = 4; /* maximum number of threads that can idle indefinitely */ 332static unsigned int max_idle = 4; /* maximum number of threads that can idle indefinitely */
333static volatile unsigned int idle_timeout = 10; /* number of seconds after which an idle threads exit */ 333static unsigned int idle_timeout = 10; /* number of seconds after which an idle threads exit */
334 334
335static xmutex_t wrklock; 335static xmutex_t wrklock;
336static xmutex_t reslock; 336static xmutex_t reslock;
337static xmutex_t reqlock; 337static xmutex_t reqlock;
338static xcond_t reqwait; 338static xcond_t reqwait;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines