IO.splice always releases the GVL
commit2b5ed135add5562e288017ecafc5f41553d22180
authorEric Wong <normalperson@yhbt.net>
Thu, 27 May 2010 09:08:52 +0000 (27 09:08 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 27 May 2010 09:10:41 +0000 (27 09:10 +0000)
tree9a1b6045423168e0fe9d83ad241c180a43acd3dc
parent419231017fe2789057aeef5cf9c8eec9ad24bc29
IO.splice always releases the GVL

We can't reliably/efficiently know if the non-pipe descriptor
may block, and releasing the GVL is fairly cheap under Linux.
ext/io_splice/io_splice_ext.c