curl-library
Re: HTTPS and Multi-threading
From: Dirk Manske <dm_at_sysformance.com>
Date: Thu, 1 Jul 2004 18:16:12 +0200
Date: Thu, 1 Jul 2004 18:16:12 +0200
On Thursday 01 July 2004 10:07, Andy Hobbs wrote:
> In newer versions of linux (kernel 2.4 and above) the getpid function
> returns the parent pid not a unique thread ID per thread, you have to
> use pthread_self() instead.
Ooops, thanks for correction.
>On Wed, 2004-06-30 at 19:24, Olano, Ever wrote:
> > Didn't it work without one? Or you thought it wouldn't hurt?
I didn't test it without.
> > Does it work fine for you?
Yes, but I will switch to thread_self() as Andy noticed.
Dirk
Received on 2004-07-01