Curl_share_lock twice?? bug??
Date: Wed, 27 Aug 2008 14:13:35 +0800
my program use curl_share_setopt with curl-7.18.2 in ubuntu 8.04
piece of call stack is as below
3: Curl_cookie_loadfiles() in cookie.c:144 <---- my program halt here
2: flush_cookies() in url.c:354
the reason may be:
Curl_share_lock() be call twice, both in flush_cookies() and
by the way:
in windows, calling lock() twice is ok;
but in pthread in linux, program will halt when call lock() twice.
-- dengminwen_at_gmail_dot_comReceived on 2008-08-27