Re: Threads [Was: Re: 64 bit euphoria]
- Posted by "Elliott S. de Andrade" <quantum_analyst at hotmail.com> Apr 29, 2005
- 510 views
>From: Hayden McKay <guest at RapidEuphoria.com> >Reply-To: EUforum at topica.com >To: EUforum at topica.com >Subject: Re: Threads [Was: Re: 64 bit euphoria] >Date: Thu, 28 Apr 2005 18:17:03 -0700 > > >posted by: Hayden McKay <hmck1 at dodo.com.au> > >In my opinion multi thread support built in to the interpretor pointless. >The >best way to perform multi threading is to use Intel's Hyper-Threading >support >or the Win32 Multi threading APIs. The link below shows how to create >threads >useing the Win32 API's. It is a very comprehensive reference to multi >thread >techneques that can be applied on a cross platform basis. Also demonstrates >how to avoid Hyper-Technology stack conflict's and has variouse code >snippets >that can be applied to Euphoria. > >>http://cache-www.intel.com/cd/00/00/05/15/51534_developing_multithreaded_applications.pdf > I also do not find it necessary to have a multi-threading *API* in the interpreter. However, it is necessary for there to be multi-threading support. The Win32 Multi-threading API and Intel's Hyper-Threading (which needs threads to do anything anyway) really don't make a difference if the interpreter is not thread-safe. You *cannot* use them without thread-safety. I have tried several API's; it does not work. ~[ WingZone ]~ http://wingzone.tripod.com/