From: Aman Gupta Date: 2009-10-26T10:34:38+09:00 Subject: [ANN] eventmachine 0.12.10 I am happy to announce the release of eventmachine 0.12.10. Gems (including binary builds for win32 and jruby) have been uploaded to rubyforge and should be available via `gem install` shortly. Since 0.12.8, we've had over 130 patches with numerous bug fixes, improvements and several new features. Highlights include:  - Improved Performance    - subclasses of EM::Connection are not created unless necessary    - prevent unnecessary system calls to epoll_ctl/kevent    - the reactor uses numeric signatures instead of strings,      resulting in a ~15% overall performance boost  - API Changes    - EM.reactor_thread accessor for the reactor's thread    - EM.next_tick and EM.schedule are now thread-safe    - EM::connect will raise a more better EM::ConnectionError with details    - EM.epoll=/kqueue= will raise EM::Unsupported when unavailable    - improved the cryptic "no timer" exception and increased the      default limit to 10k timers    - bugfix and improved performance for EM.current_time    - EM.add_periodic_timer returns PeriodicTimer object    - EM::Connection#get_sock_opt wrapper for getsockopt()    - added EM.watch for notifications about file descriptors        for notify_read/writable events, you cannot use EM.attach        EM.watch(fd, Watcher){ |c| c.notify_readable = true }    - EM::Connection#pending_connect_timeout= setter (defaults to 20s)    - EM.bind_connect can bind to random source port using nil        EM.bind_connect('local.ip', nil, 'remote.ip', 1234)    - added EM::Connection#pause/resume/paused? to pause and resume I/O    - EM::Connection#proxy_incoming_to takes an optional buffer size for      limiting RAM usage when dealing with slow clients  - Protocol Additions    - allow overriding the serializer used for ObjectProtocol    - basic SOCKS v4 client protocol implementation  - Platform Support      AIX, OpenBSD, Solaris        - minor fixes to support these platforms      Windows        - fix missing unbind events on refused outbound connections        - fix issues with ruby 1.9 on windows  - Ruby Support      JRuby        - major overhaul of the jruby reactor for better compat and performance        - basic EM.attach/watch support on the Sun JVM        - fully compatible with JRuby 1.4      Ruby 1.9        - fix bugs trying to kill the EM.defer threadpool        - fix signal handling to catch ctrl+c and other signals gracefully      Rubinius        - minor changes to build a compatible C extension Special thanks to the following people for making this release possible:  - Bernd Ahlers  - Chris Turner  - Dan Mayer  - Perry Smith  - Bill 'spatulasnout' Kelly  - Hemant 'gnufied' Kumar  - Jake 'yakischloba' Douglas  - James 'raggi' Tucker  - coderrr The rdoc has been updated and is available at http://eventmachine.rubyforge.org  Aman