-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/01/2014 10:47 AM, Iñaki Baz Castillo wrote:
> 2014-07-01 10:26 GMT+02:00 Saúl Ibarra Corretgé
> <[email protected]>:
>> Updated proposal: 
>> https://gist.github.com/saghul/909502cc7367a25c247a#file-uv_read2-md
>>
>>
>> 
Basically I ditched the upfront allocation approach and switched to
>> using an allocation callback. It's still possible for users to 
>> preallocate buffers by using a struct that embeds the request
>> and storing them there anyway.
> 
> What would happen if I called uv_read() at the same time for the
> same stream and/or the same read req?
> 
> 

You can call uv_read more than once, but you cannot reuse the
uv_read_t request while it has not ended, just like with any other
type of request.

- -- 
Saúl Ibarra Corretgé
bettercallsaghul.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJTsndhAAoJEEEOVVOum8BZ1WcQAMFK3Cxg8lc01fqED4ERqNTK
+RNOMR6pMrdn3zcL61NFtsLDMF2IPHpqRqu/mfVQ94WhSf4UZ8PV5SagsUrs+vcV
Lg4onHdZjHOEtdGxh5AILZAPII1z+ASX+ijpM/I/Z7PKvBU8y9SWT1aL4CjtprCe
5LG2J0F3dqgyXu/1SFo8WeoQPndNczITjAhBaLyK5CnTp7AxDQ72l9Mfm+11wf6l
oA+lSM5ja7BeyfSKA8LdEExMaqxXfH1JLooua0omn3dIjXwv34ellEpU3oTjAxtO
lZ8AETCLvjYZeETU4vktV8fdA8sBKuV+neMya8AMNZMz5U6+QpiL90TMHOZ5UMH5
2qWNWe38vkzGADDbSqXCDGWb25mRB22ibxoBwCiE6Tz1tol6ToZyCL1eYJxqv0qf
DROL4JABvKrJGfQtCTQRj5zgxlQzb32Q3Vxdz3h3fK7nrkXxp74zyZXiGkKP2R6A
2DG8h8f6BotuYgWdWO17+ih+AlCNqWgHBpTTJACKKG9TSM4WZn8taSw0OpNnNtYH
ZzjPMwYNMia3rS2jv9zjy4yKDt8vOaEmMJe/vXOtzdKOfxMT1WQCpqZPF4/2Badg
f0B2ZcaYWGbwty95qg6yYIqyJLYcNmEDWYq1pAEpAXXnDO5DCTw9dcmN4tAyVD96
45aAucMahSEa2rvae3Kp
=g2uF
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to