diff options
author | root <root> | 2007-12-03 13:41:24 +0000 |
---|---|---|
committer | root <root> | 2007-12-03 13:41:24 +0000 |
commit | eb7909955a094de6e667e3e9f88ddbad46fc93b6 (patch) | |
tree | bac295fb43e74b3390fa853d4d4169bc9b520aec /ev.c | |
parent | f6cc1f750a321b2c6e30637963d3e624c7a8e5ae (diff) |
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -888,6 +888,12 @@ ev_backend (EV_P) return backend; } +unsigned int +ev_loop_count (EV_P) +{ + return loop_count; +} + static void noinline loop_init (EV_P_ unsigned int flags) { @@ -1420,6 +1426,7 @@ ev_loop (EV_P_ int flags) if (expect_false (block < 0.)) block = 0.; } + ++loop_count; backend_poll (EV_A_ block); } |