cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: canceling curl_easy_perform() operation

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 4 Jun 2007 09:03:57 -0700

On Mon, Jun 04, 2007 at 05:16:05PM +0530, Sapana Hanchate wrote:
> -To cancel curl_multi_perform() operation I used curl_multi_remove_handle()
> and passed pointer to easy_handle. But if I do like this my application is
> hanging as I am sharing easy_handle in two different thread. So could not
> use multi interface

You just need to implement some kind of interthread synchronization and do
the cancel from the same thread as other easy handle manipulations.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-06-04