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

RE: [reSIProcate] ThreadIf


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@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Kenneth Ho
> Sent: Wednesday, November 16, 2005 7:45 AM
> To: stensil; resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
> > https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel