Re: CreateThread
- From: "Ben Voigt [C++ MVP]" <rbv@xxxxxxxxxxxxx>
- Date: Mon, 17 Mar 2008 08:37:46 -0500
Alex Blekhman wrote:
"domi" wrote:
If you read the threading information on www.flounder.com, it
will explain why you DONT want to use this api.
No sense.
Windows itself of course never uses _beginthreadex but always
CreateThread.
You aren't Windows, so you should use appropriate thread starting
function (depends on your environment). You almost never use
`CreateThread'.
CreateThread is perfectly fine in most situations. _beginthreadex is only
needed if
(1) The CRT is used from that thread.
AND
(2) The CRT is statically linked.
Alex
.
- Follow-Ups:
- Re: CreateThread
- From: Gerhard Fiedler
- Re: CreateThread
- References:
- CreateThread
- From: Jim Johnson
- Re: CreateThread
- From: Alexander Grigoriev
- Re: CreateThread
- From: Jim Johnson
- Re: CreateThread
- From: Mikep
- Re: CreateThread
- From: domi
- Re: CreateThread
- From: Alex Blekhman
- CreateThread
- Prev by Date: Re: why private virtual function?
- Next by Date: Re: QueryPerformanceFrequency
- Previous by thread: Re: CreateThread
- Next by thread: Re: CreateThread
- Index(es):
Relevant Pages
|