From: Aaron Patterson Date: 2012-07-01T04:30:06+09:00 Subject: [ruby-core:46006] Re: [ruby-trunk - Feature #5138] Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 01, 2012 at 02:47:58AM +0900, drbrain (Eric Hodel) wrote: >=20 > Issue #5138 has been updated by drbrain (Eric Hodel). >=20 >=20 > The goal is to avoid the creation hundreds (if not thousands) of Errno::E= WOULDBLOCK, IO::WaitReadable and IO::WaitWritable exceptions (including the= ir backtraces) that are immediately rescued in the course of a typical non-= blocking socket read or write loop. >=20 > The usage should be as close to the same as possible to make it easy to m= odify code that currently uses exceptions. This way users can quickly and = easily switch to the new API without spending much time on it. Thanks Eric! I'll add this to the slide. <3<3<3 --=20 Aaron Patterson http://tenderlovemaking.com/ --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) iQEcBAEBAgAGBQJP71O2AAoJEJUxcLy0/6/GtRUH/2+qxAPyUN3y0fIzOmIv02Eo FBBuRZ+xIiuialyh52Qyj9NqVAHANUtMMAxQW7xSZOqqPfK4k1suuVZTa7bQ6kV1 VkwRrC5anQf+qlVXzIY2FmeAOvNyVg0EBB9C7z+KhTeCjb4hWcJuwE5gZR/6mkcf /yZ/jTyiS06lXCP10gm31g3gTEqE0r+AyWJ6xSBW1UpNDoQNJrqmDhA8ISvbakqs dEHtg1hyDRSQL1efypJAA0wS7m8ohQ18LiSOWMTSaKLSyVLlKAE5GYwoZwEfI6uR oxQZxnFqkDmYjR50rX/TLvUm7SXpebHe+4BUJl4GgX6KCSfFNJkGYiDmw5K8HFc= =B/Ii -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--