Use _beginthreadex. Defined in stdlib.h - only if library (in compiler options) set to multithread. CreateThread is also possible, but in this way some C RTL functions (those that need per-thread buffers, e.g. strtok) may work incorrectly.
Best regards Fedor -----Original Message----- Subject: _beginthread From: [EMAIL PROTECTED] (John D. O'Connell) Date: Tue, 05 Jan 1999 13:09:41 -0500 X-Message-Number: 12 Hello All, Does anybody have any information on _beginthread? Seems to be missing from WinCE. If this isn't available what are we supposed to do? This is really getting ponderous! -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Massimo Belgrano Inviato: mercoledì 24 settembre 2008 13.30 A: Harbour Project Main Developer List. Oggetto: R: [Harbour] Evc4 error building libs Are you sure that multitread is not aivable on win_ce? Reading from http://alfetta.hpc.net/obj_search.asp?Keywords=beginthreadex I read beginthreadex is not available for newer versions of Windows CE (starting with 2.11 or 3.0). I'm pretty sure the extra work that had been done by beginthreadex is now down by CreateThread. (Note that this is _only_ true for Windows CE; the differences between beginthreadex and CreateThread are still true for "big" Windows".) I just used dejanews (now at http://groups.google.com/advanced_group_search) to look up windows ce beginthread with the search restricted to December 2001, and got 10 hits, including at least a few that look very relevant. >Subject: BeginThread usage vs CreateThread >From: [EMAIL PROTECTED] (Carl Chipman) >Date: Thu, 28 Mar 2002 15:45:25 -0600 >X-Message-Number: 2 > >This is a multi-part message in MIME format. > >------=_NextPart_000_006C_01C1D66F.93D04B60 >Content-Type: text/plain; > charset="iso-8859-1" >Content-Transfer-Encoding: 7bit > >Is it still recommend under Windows CE 3.0 to use beginthread and >beginthreadex if we are planning on using C run time functions in a >thread? > >TIA, >Carl Chipman > >Carl Chipman >Nomadics, Inc.HYPERLINK "mailto:[EMAIL PROTECTED]" >[EMAIL PROTECTED] >HYPERLINK "http://www.nomadics.com/"http://www.nomadics.com > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/2002 > >------=_NextPart_000_006C_01C1D66F.93D04B60 >Content-Type: text/html; > charset="iso-8859-1" >Content-Transfer-Encoding: quoted-printable > >xmlns:w=3D"urn:schemas-microsoft-com:office:word" = >xmlns=3D"http://www.w3.org/TR/REC-html40"> > >Is it still recommend under Windows CE 3.0 to use beginthread and >beginthreadex if = we are planning on using C run time functions in a thread? > >TIA, >Carl Chipman > > > >Carl Chipman >Nomadics, Inc.<3d.htm> >[EMAIL PROTECTED] ><3d.htm>http://www.nomadics.com > > > -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di José Luis Capel Inviato: mercoledì 24 settembre 2008 13.12 A: 'Harbour Project Main Developer List.' Oggetto: RE: [Harbour] Evc4 error building libs Hi Przemek, JLC> JLC>Probably MT mode is enabled in WINCE builds. It should be disabled. JLC> Is set MT mode by default ? I didn't setted any specific set for MT mode... Regards, José Luis Capel _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
