Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 11 years ago
parent
commit
32e5f700c3
  1. 4
      Symbols.ev
  2. 6
      ev.h
  3. 6
      ev_vars.h
  4. 6
      ev_wrap.h

4
Symbols.ev

@ -8,9 +8,7 @@ ev_check_stop
ev_child_start
ev_child_stop
ev_clear_pending
ev_default_destroy
ev_default_fork
ev_default_loop_init
ev_default_loop
ev_default_loop_ptr
ev_depth
ev_embed_start

6
ev.h

@ -100,11 +100,11 @@ EV_CPP(extern "C" {)
#endif
#ifndef EV_FORK_ENABLE
# define EV_FORK_ENABLE 0 /* not implemented */
# define EV_FORK_ENABLE EV_FEATURE_WATCHERS
#endif
#ifndef EV_CLEANUP_ENABLE
# define EV_CLEANUP_ENABLE EV_FEATURE_WATCHERS
# define EV_CLEANUP_ENABLE 0 /* not implemented */
#endif
#ifndef EV_SIGNAL_ENABLE
@ -427,7 +427,9 @@ typedef struct ev_embed
ev_periodic periodic; /* unused */
ev_idle idle; /* unused */
ev_fork fork; /* private */
#if EV_CLEANUP_ENABLE
ev_cleanup cleanup; /* unused */
#endif
} ev_embed;
#endif

6
ev_vars.h

@ -156,6 +156,12 @@ VARx(int, forkmax)
VARx(int, forkcnt)
#endif
#if EV_CLEANUP_ENABLE || EV_GENWRAP
VARx(struct ev_cleanup **, cleanups)
VARx(int, cleanupmax)
VARx(int, cleanupcnt)
#endif
#if EV_ASYNC_ENABLE || EV_GENWRAP
VARx(EV_ATOMIC_T, async_pending)
VARx(struct ev_async **, asyncs)

6
ev_wrap.h

@ -70,6 +70,9 @@
#define forks ((loop)->forks)
#define forkmax ((loop)->forkmax)
#define forkcnt ((loop)->forkcnt)
#define cleanups ((loop)->cleanups)
#define cleanupmax ((loop)->cleanupmax)
#define cleanupcnt ((loop)->cleanupcnt)
#define async_pending ((loop)->async_pending)
#define asyncs ((loop)->asyncs)
#define asyncmax ((loop)->asyncmax)
@ -159,6 +162,9 @@
#undef forks
#undef forkmax
#undef forkcnt
#undef cleanups
#undef cleanupmax
#undef cleanupcnt
#undef async_pending
#undef asyncs
#undef asyncmax

Loading…
Cancel
Save