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

Comparing libev/ev.pod (file contents):
Revision 1.161 by root, Sat May 24 03:08:03 2008 UTC vs.
Revision 1.163 by root, Sat May 31 23:19:23 2008 UTC

3285involves iterating over all running async watchers or all signal numbers. 3285involves iterating over all running async watchers or all signal numbers.
3286 3286
3287=back 3287=back
3288 3288
3289 3289
3290=head1 Win32 platform limitations and workarounds 3290=head1 WIN32 PLATFORM LIMITATIONS AND WORKAROUNDS
3291 3291
3292Win32 doesn't support any of the standards (e.g. POSIX) that libev 3292Win32 doesn't support any of the standards (e.g. POSIX) that libev
3293requires, and its I/O model is fundamentally incompatible with the POSIX 3293requires, and its I/O model is fundamentally incompatible with the POSIX
3294model. Libev still offers limited functionality on this platform in 3294model. Libev still offers limited functionality on this platform in
3295the form of the C<EVBACKEND_SELECT> backend, and only supports socket 3295the form of the C<EVBACKEND_SELECT> backend, and only supports socket
3301things, then note that glib does exactly that for you in a very portable 3301things, then note that glib does exactly that for you in a very portable
3302way (note also that glib is the slowest event library known to man). 3302way (note also that glib is the slowest event library known to man).
3303 3303
3304There is no supported compilation method available on windows except 3304There is no supported compilation method available on windows except
3305embedding it into other applications. 3305embedding it into other applications.
3306
3307Not a libev limitation but worth mentioning: windows apparently doesn't
3308accept large writes: instead of resulting in a partial write, windows will
3309either accept everything or return C<ENOBUFS> if the buffer is too large,
3310so make sure you only write small amounts into your sockets (less than a
3311megabyte seems safe, but thsi apparently depends on the amount of memory
3312available).
3306 3313
3307Due to the many, low, and arbitrary limits on the win32 platform and 3314Due to the many, low, and arbitrary limits on the win32 platform and
3308the abysmal performance of winsockets, using a large number of sockets 3315the abysmal performance of winsockets, using a large number of sockets
3309is not recommended (and not reasonable). If your program needs to use 3316is not recommended (and not reasonable). If your program needs to use
3310more than a hundred or so sockets, then likely it needs to use a totally 3317more than a hundred or so sockets, then likely it needs to use a totally

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines