cURL / Mailing Lists / curl-library / Single Mail

curl-library

multi interface on a multi threaded application

From: Yuval <yuvdror_at_yahoo.com>
Date: Mon, 14 Feb 2011 00:50:55 -0800 (PST)

Web-based Email # http://address.yahoo.com/Computers & Technology #
http://calendar.mail.yahoo.com/Web-based Email #
http://edit.yahoo.com/Web-based Email,Search Engines & Portals #
http://features.mail.yahoo.com/Games # http://games.yahoo.com/Games #
http://get.games.yahoo.com/Search Engines & Portals #
http://global.ard.yahoo.com/Computers & Technology #
http://iframe.commtouch.com/Web-based Email,Search Engines & Portals #
http://mail.yahoo.com/Search Engines & Portals # http://mobile.yahoo.com/News
# http://news.yahoo.com/Web-based Email,Search Engines & Portals #
http://notepad.mail.yahoo.com/Social Networking #
http://profiles.yahoo.com/Search Engines & Portals #
http://search.yahoo.com/Search Engines & Portals #
http://us.lrd.yahoo.com/Information Security #
http://us.mg1.mail.yahoo.com/Search Engines & Portals #
http://us.rd.yahoo.com/Search Engines & Portals # http://www.yahoo.com
Hi,

I would like to implement Event Loop having a single thread doing select,
while multiple threads pushing new requests.

can I use curl_multi_add_handle on multiple threads while the Event Loop thread
is looping over:

1. curl_multi_fdset
2. curl_multi_perform
3. curl_multi_info_read

Is there any example of such implementation ?

Thanks

      

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-14