cURL / Mailing Lists / curl-library / Single Mail

curl-library

Is there an easy way to share curl_easy handle with threads?

From: Sébastien Petitdemange <sebastien.petitdemange_at_esrf.fr>
Date: Wed, 04 Feb 2015 13:58:49 +0100

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

Hello All,

I've tried to create a curl main loop in a separated thread which
execute curl_multi_perform. On other thread I initialize requests with
curl_easy function then I give the handle to the main thread loop.
But this is not working,all curl_easy request never ends.

Is there an easy way to share those curl_easy handle with the mainloop
or should I also create the request in the same thread?

Best regards,

SEB

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJU0heJAAoJEEtktDVosZgUfFcH/iO2tPOkCHlEyqfkt8LKjx82
L9lPENzfMJreADERnn+wdMVTutusPy1Tjm3xq3yZ5KHhPvHEVz3l6BlokIjI57qy
LRbjs/ewApH1piNYgrMrzL4NQaczfIQdUi483HS8TLm6WOB0Fco8zUSwXMSlSdnG
D0uXjQJ8jkBDBy7ZdUeAGJbYgbDeV4brySbYxBZWBR+EiRTfxfQqRFCJlDjAkc1x
1GTH/zn+YgypIPzvCmGP2oUHDaMVFVaaXKAXCJzPZRCQzPCe2pb+DsR0QJbCp9Vo
UCDugM8iTivgVixyt6G4EQv7dYx8ldS4oOWXKraQgBQYzYuXB5axp8D+4CWKvRo=
=gFKk
-----END PGP SIGNATURE-----

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2015-02-04