cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Error - pthread.h file not found

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 29 Oct 2003 12:35:31 +0100 (CET)

On Wed, 29 Oct 2003, Pravin Jade wrote:

> Is pthread.h file comes built-in with Unix/Linux OS ?

Yes. pthread is the standard POSIX interface to threads. All platforms that
offer pthread support has the pthread.h include file.

Last time I looked, Windows was not pthread-compliant.

> If yes then what should be done to run this program on Windows 2000 OS ?

Replace the pthread-functions with the functions Windows provide for the same
functionality.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-10-29