cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [ curl-Bugs-927979 ] win32 thread usage

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 5 Apr 2004 15:21:09 +0200 (CEST)

On Sat, 3 Apr 2004, Nathan O'Sullivan wrote:

> _endthreadex() is used to safely end the thread (from within the thread). It
> is equivalent to returning from the thread's entry function. (If you dont
> call _endthreadex() in your thread, when you return from the thread it will
> be called for you as part of thread clean-up)
>
> You can use TerminateThread() on threads created by CreateThread() or
> _beginthreadex() -- although as David Byron points out, its not the safest
> of functions to call, as it can leave the process in an inconsistant state.

Hm, is this mail saying

  1) "yes - Gisle Vamem's patch fixes the problems I reported"

or

  2) "no - the patch is not (good) enough" ?

I'm afraid I don't quite follow the win32-lingo so I'm hanging around here
waiting for clear indications on what patches to apply! ;-)

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-05