Re: Threaded Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

the short definition for threads = simultaneous execution 
Its like haveing multiple programs running at the same time.
threads allow you to schedule priorities.

for instance,

I program PLC's (programmable logic controllers) and have machinery that operate
without operators on their own "like robots" each section must communicate with
other sections
incase something happens to a section the other sections wont pile up work for
the downed section.
This is what threads are capable of in the real world and I hope this helps
explain what threads are and what they do.
A Euphoria program could not do this labor intensive work without the use of
threads.

Grab a copy of the MS-SDK.

Euman
euman at bellsouth.net


----- Original Message ----- 
From: "Cassidy Napoli" <gonzotek at yahoo.com>
To: "EUforum" <EUforum at topica.com>
Sent: Thursday, October 18, 2001 15:54
Subject: RE: Threaded Euphoria


> 
> Could someone explain what threads are, and how they fit into 
> programming in general, and why they aren't in Euphoria?  Not that I'm 
> complaining, I just don't know *anything* about them.
> 
> I come from a GWBasic/Hyperlogo/HyperStudio background, so all of my 
> experience comes from "simple" languages, if you'll pardon the 
> expression.  I also had a crack at an early prototype of what would 
> become Lego Mindstorms when I was in a "Youth-In-Sciences" type program 
> at The Franklin Institute, at least 9 years ago (I was 14 or 15).  That 
> was very interesting, but we only had about 5 weeks (two days a week) to 
> work with the materials before Lego came back and surveyed us and took 
> all our toys away :(.
> 
> Besides threads, what other programming structures/techniques/?things 
> can I expect to encounter while learning Euphoria, and then C, that will 
> be new, coming from my background?
> 
> 
> Thanks,
> -=Gonzotek=-
> euman at bellsouth.net wrote:
> > I would praise Robert if we had threads...
> > 
> > I just finished a C program that couldnt be done without the use
> > of threads thats why I had to write it in C...
> > 
> > I've found threads to be fairly easy though I dont think I pushed its 
> > limits
> > either.
> > 
> > Euman
> > euman at bellsouth.net
> > 
> > ----- Original Message ----- 
> > From: "Larry Mears" <LarryMears at hotmail.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Thursday, October 18, 2001 14:13
> > Subject: Threaded Euphoria
> > 
> > 
> > >    I know threading can be useful but it makes programming
> > > more complex.  I wrote a script interpreter in JAVA to do
> > > web page graphics. The threading was something I had to over
> > > come, it hindered instead of helped.  If Robert ever added this
> > > to Euphoria I would hope it would be a invoked option, like:
> > > Threading=True
> > > I would imagine it would be a major rewrite to get Euphoria to
> > > do threads.  I personally can do without threads. 
> > > 
> > > Thanks,
> > > Larry Mears
> > > 
> > > 
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu