< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] ThreadIf


Thx for the tip.

Dmytro Bogovych wrote:
On Wed, 16 Nov 2005 13:15:56 +0200, stensil <stensil@xxxxxxx> wrote:

Hello, All.
In ThreadIf (for WIN32) a call to WINAPI-function "CreateThread" is used. It is not recommended practice for win32-programming, AFAIK. Microsoft recommends to use call to "beginthread" and "beginthreadex" functions instead. They properly initialize CRT-data for each thread (and "CreateThread" don't do it)...


This change should be surrounded by #ifndef _WIN32_WCE to be compatible
with
CE.NET and embedded VC++. There is no _beginthread call.