cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Threads library

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 19 Jan 2006 01:52:03 -0600

> Is there a preferred threads library to use in conjunction with libcurl?
> Is any flavor of treads easier to build with or are there any conflicts to
> watch out for?

Just a note I thought might be worth mentioning,
a quote from the MSDN documentation:

"A thread in an executable that calls the C run-time library (CRT) should
use the _beginthread() and _endthread() functions for thread management
rather than CreateThread() and ExitThread()"

I assume this applies to calling libcurl, since it uses msvcrt.dll ?

Ref:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/createthread.asp

- Jeff
Received on 2006-01-19