[reSIProcate] ThreadIf

Scott Godin slgodin at icescape.com
Wed Nov 16 08:17:46 CST 2005


Ken,

The fix you just committed is still calling ExitThread - in
threadWrapper.  It should be calling _endthreadex for non-WinCE WIN32.

Scott



> -----Original Message-----
> From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-
> devel-bounces at list.sipfoundry.org] On Behalf Of Kenneth Ho
> Sent: Wednesday, November 16, 2005 7:45 AM
> To: stensil; resiprocate-devel at list.sipfoundry.org
> Subject: Re: [reSIProcate] ThreadIf
> 
> Guys,
> 
> Stensil is right,
> http://support.microsoft.com/kb/q104641/
> 
> Stensil,
> 
> Thx, a fix is on the way.
> 
> Ken
> 
> stensil 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)...
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel at list.sipfoundry.org
> > https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel



More information about the resiprocate-devel mailing list