diff options
author | root <root> | 2008-05-21 23:25:21 +0000 |
---|---|---|
committer | root <root> | 2008-05-21 23:25:21 +0000 |
commit | 04eca7307d84fef57bc40c6efe8475dfb80fa01f (patch) | |
tree | 7249805dc373d5a029b3d49ba325339b6a0212d4 /ev.h | |
parent | 2cd4febbd4a1612876408957f37a16be7d2cde04 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r-- | ev.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -166,6 +166,15 @@ struct ev_loop; * private: you can look at them, but not change them, and they might not mean anything to you. * ro: can be read anytime, but only changed when the watcher isn't active * rw: can be read and modified anytime, even when the watcher is active + * + * some internal details that might be helpful for debugging: + * + * active is either 0, which means the watcher is not active, + * or the array index of the watcher (periodics, timers) + * or the array index + 1 (most other watchers) + * or simply 1 for watchers that aren't in some array. + * pending is either 0, in which case the watcher isn't, + * or the array index + 1 in the pendings array. */ /* shared by all watchers */ |