ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.3
(Generate patch)

Comparing libev/ev.3 (file contents):
Revision 1.93 by root, Sun May 6 13:05:35 2012 UTC vs.
Revision 1.94 by root, Sun May 6 19:51:52 2012 UTC

4364.IP "Lua" 4 4364.IP "Lua" 4
4365.IX Item "Lua" 4365.IX Item "Lua"
4366Brian Maher has written a partial interface to libev for lua (at the 4366Brian Maher has written a partial interface to libev for lua (at the
4367time of this writing, only \f(CW\*(C`ev_io\*(C'\fR and \f(CW\*(C`ev_timer\*(C'\fR), to be found at 4367time of this writing, only \f(CW\*(C`ev_io\*(C'\fR and \f(CW\*(C`ev_timer\*(C'\fR), to be found at
4368http://github.com/brimworks/lua\-ev <http://github.com/brimworks/lua-ev>. 4368http://github.com/brimworks/lua\-ev <http://github.com/brimworks/lua-ev>.
4369.IP "Javascript" 4
4370.IX Item "Javascript"
4371Node.js (<http://nodejs.org>) uses libev as the underlying event library.
4372.IP "Others" 4
4373.IX Item "Others"
4374There are others, and I stopped counting.
4369.SH "MACRO MAGIC" 4375.SH "MACRO MAGIC"
4370.IX Header "MACRO MAGIC" 4376.IX Header "MACRO MAGIC"
4371Libev can be compiled with a variety of options, the most fundamental 4377Libev can be compiled with a variety of options, the most fundamental
4372of which is \f(CW\*(C`EV_MULTIPLICITY\*(C'\fR. This option determines whether (most) 4378of which is \f(CW\*(C`EV_MULTIPLICITY\*(C'\fR. This option determines whether (most)
4373functions and callbacks have an initial \f(CW\*(C`struct ev_loop *\*(C'\fR argument. 4379functions and callbacks have an initial \f(CW\*(C`struct ev_loop *\*(C'\fR argument.
4668.IX Item "EV_WIN32_CLOSE_FD(fd)" 4674.IX Item "EV_WIN32_CLOSE_FD(fd)"
4669If programs implement their own fd to handle mapping on win32, then this 4675If programs implement their own fd to handle mapping on win32, then this
4670macro can be used to override the \f(CW\*(C`close\*(C'\fR function, useful to unregister 4676macro can be used to override the \f(CW\*(C`close\*(C'\fR function, useful to unregister
4671file descriptors again. Note that the replacement function has to close 4677file descriptors again. Note that the replacement function has to close
4672the underlying \s-1OS\s0 handle. 4678the underlying \s-1OS\s0 handle.
4679.IP "\s-1EV_USE_WSASOCKET\s0" 4
4680.IX Item "EV_USE_WSASOCKET"
4681If defined to be \f(CW1\fR, libev will use \f(CW\*(C`WSASocket\*(C'\fR to create its internal
4682communication socket, which works better in some environments. Otherwise,
4683the normal \f(CW\*(C`socket\*(C'\fR function will be used, which works better in other
4684enviornments.
4673.IP "\s-1EV_USE_POLL\s0" 4 4685.IP "\s-1EV_USE_POLL\s0" 4
4674.IX Item "EV_USE_POLL" 4686.IX Item "EV_USE_POLL"
4675If defined to be \f(CW1\fR, libev will compile in support for the \f(CW\*(C`poll\*(C'\fR(2) 4687If defined to be \f(CW1\fR, libev will compile in support for the \f(CW\*(C`poll\*(C'\fR(2)
4676backend. Otherwise it will be enabled on non\-win32 platforms. It 4688backend. Otherwise it will be enabled on non\-win32 platforms. It
4677takes precedence over select. 4689takes precedence over select.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines