… | |
… | |
986 | |
986 | |
987 | =item ev_userdata (loop) |
987 | =item ev_userdata (loop) |
988 | |
988 | |
989 | Set and retrieve a single C<void *> associated with a loop. When |
989 | Set and retrieve a single C<void *> associated with a loop. When |
990 | C<ev_set_userdata> has never been called, then C<ev_userdata> returns |
990 | C<ev_set_userdata> has never been called, then C<ev_userdata> returns |
991 | C<0.> |
991 | C<0>. |
992 | |
992 | |
993 | These two functions can be used to associate arbitrary data with a loop, |
993 | These two functions can be used to associate arbitrary data with a loop, |
994 | and are intended solely for the C<invoke_pending_cb>, C<release> and |
994 | and are intended solely for the C<invoke_pending_cb>, C<release> and |
995 | C<acquire> callbacks described above, but of course can be (ab-)used for |
995 | C<acquire> callbacks described above, but of course can be (ab-)used for |
996 | any other purpose as well. |
996 | any other purpose as well. |
… | |
… | |
3381 | =item * Priorities are not currently supported. Initialising priorities |
3381 | =item * Priorities are not currently supported. Initialising priorities |
3382 | will fail and all watchers will have the same priority, even though there |
3382 | will fail and all watchers will have the same priority, even though there |
3383 | is an ev_pri field. |
3383 | is an ev_pri field. |
3384 | |
3384 | |
3385 | =item * In libevent, the last base created gets the signals, in libev, the |
3385 | =item * In libevent, the last base created gets the signals, in libev, the |
3386 | first base created (== the default loop) gets the signals. |
3386 | base that registered the signal gets the signals. |
3387 | |
3387 | |
3388 | =item * Other members are not supported. |
3388 | =item * Other members are not supported. |
3389 | |
3389 | |
3390 | =item * The libev emulation is I<not> ABI compatible to libevent, you need |
3390 | =item * The libev emulation is I<not> ABI compatible to libevent, you need |
3391 | to use the libev header file and library. |
3391 | to use the libev header file and library. |