cURL / Mailing Lists / curl-library / Single Mail


Re: Boost::thread and libcurl

From: Kamil Dudka <>
Date: Sun, 1 May 2011 21:01:48 +0200

On Sunday 01 May 2011 19:39:13 Radu Brumariu wrote:
> I doubt it is blocking on that ). However I am not sure if the threads
> would be scheduled like ordinary processes, or they would be scheduled
> to run within the time slice of the parent process . If the latter is
> true, then it would sort of help explain what I am seeing.

This should be something easy to try. Just replace boost::thread()/join_all()
by fork()/wait() and you will see if you get different results when compared
to your thread-based solution.

List admin:
Received on 2011-05-01