1. Eu and multithreading

Does Eu multithread?


J Reeves
Grape Vine
ICQ# 13728824

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

new topic     » topic index » view message » categorize

2. Re: Eu and multithreading

On Wed, 10 Jan 2001, Grape_ Vine_ wrote:
>> Does Eu multithread?
>> 

The simple answer is NO....but i believe Jeff Fielding wrote a wrapper for a
threads library in linux. This does of course mean that its only available for
exu.

-- 
evil, corruption and bad taste
^[cense]

new topic     » goto parent     » topic index » view message » categorize

3. Re: Eu and multithreading

I know what re-entrant is. I was hoping that that day had come. Its the only
feature of Eu i need. I guess i dont ~need~ it so much as want it.
Ah well, I will keep working and one day it may happen



>From: Ray Smith <smithr at IX.NET.AU>
>Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU>
>To: EUPHORIA at LISTSERV.MUOHIO.EDU
>Subject: Re: Eu and multithreading
>Date: Wed, 10 Jan 2001 19:46:28 -0500
>
> >Does Eu multithread?
>
>As far as I know the simple answer is No.
>
>From my not so good knowledge the Eu interpreter would need to be
>re-entrant ... whatever that means ... I have a vague
>understanding but wouldn't want to embarrass myself by trying to explain
>what I know ... or more to the point what I don't know.
>
>I think Rob has stated in the past that there *might* be a future
>enhancement to allow multitasking.  But I wouldn't be waiting!
>
>Ray Smith

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

new topic     » goto parent     » topic index » view message » categorize

4. Re: Eu and multithreading

>Does Eu multithread?

As far as I know the simple answer is No.

>From my not so good knowledge the Eu interpreter would need to be
re-entrant ... whatever that means ... I have a vague
understanding but wouldn't want to embarrass myself by trying to explain
what I know ... or more to the point what I don't know.

I think Rob has stated in the past that there *might* be a future
enhancement to allow multitasking.  But I wouldn't be waiting!

Ray Smith

new topic     » goto parent     » topic index » view message » categorize

5. Re: Eu and multithreading

As soon as i get linux up and going(need a bigger HD) I will look in to it.
Maybe i dont need to wait that long, I have tried Eu via a telnet session,
it ~looks~ like it works, tho it is very very very slow.
Still it would do most of what i am looking for right now, text bases
threads that manipulate data from a master thread.


>From: cEnsE <cense at MAIL.RU>
>Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU>
>To: EUPHORIA at LISTSERV.MUOHIO.EDU
>Subject: Re: Eu and multithreading
>Date: Wed, 10 Jan 2001 17:47:48 -0700
>
>On Wed, 10 Jan 2001, Grape_ Vine_ wrote:
> >> Does Eu multithread?
> >>
>
>The simple answer is NO....but i believe Jeff Fielding wrote a wrapper for
>a
>threads library in linux. This does of course mean that its only available
>for
>exu.
>
>--
>evil, corruption and bad taste
>^[cense]

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

new topic     » goto parent     » topic index » view message » categorize

6. Re: Eu and multithreading

On Wed, 10 Jan 2001, cEnsE wrote:

> On Wed, 10 Jan 2001, Grape_ Vine_ wrote:
> >> Does Eu multithread?
> >>
>
> The simple answer is NO....but i believe Jeff Fielding wrote a wrapper for a
> threads library in linux. This does of course mean that its only available for
> exu.

Yeah, it's out there somewhere. If you want, you can get it at
http://jjprog.tripod.com/euphoria.html. Note, however, that it probably
won't work... I really don't recommend using it, though you might find it
interesting anyway. Perhaps I could add some code so it only runs one
Euphoria routine at a time... I'll look into it.

I did write another library (which does work) which allows some simple
messaging and cooperative multitasking called ESE (Event System for
Euphoria), which you can also find at my website or in the arcive. It's
completely cross-platform.

Jeff Fielding

new topic     » goto parent     » topic index » view message » categorize

7. Re: Eu and multithreading

On 10 Jan 2001, at 20:43, Jeffrey Fielding wrote:

> On Wed, 10 Jan 2001, cEnsE wrote:
>
> > On Wed, 10 Jan 2001, Grape_ Vine_ wrote:
> > >> Does Eu multithread?
> > >>
> >
> > The simple answer is NO....but i believe Jeff Fielding wrote a wrapper for a
> > threads library in linux. This does of course mean that its only available
> > for exu.
>
> Yeah, it's out there somewhere. If you want, you can get it at
> http://jjprog.tripod.com/euphoria.html. Note, however, that it probably
> won't work... I really don't recommend using it, though you might find it
> interesting anyway. Perhaps I could add some code so it only runs one Euphoria
> routine at a time... I'll look into it.
>
> I did write another library (which does work) which allows some simple
> messaging and cooperative multitasking called ESE (Event System for
> Euphoria), which you can also find at my website or in the arcive. It's
> completely cross-platform.

The ESE is a form of time-slice multitasking more than one app within one
Eu program. If you want a faster time-slicing-threading, make your threads
into separate Eu programs, and run/kill them as needed, communicating
the global vars between them with either socks or DDE. With DDE, you are
limited to all the threads running on one windoze puter. With socks, you
can run threads on as many puters as you have, and even across
platforms, across a LAN or the internet.

I thread mirc with 3 mirc.exe's, and i use one mirc.exe with an Eu
application,, so you can even run threads across programming languages.
 smile

Kat

new topic     » goto parent     » topic index » view message » categorize

8. Re: Eu and multithreading

Kat,

What in the world are you doing? Is there someplace on the 'net where we can
see your handiwork? smile

> I thread mirc with 3 mirc.exe's, and i use one mirc.exe with an Eu
> application,, so you can even run threads across programming languages.
>
> Kat


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

new topic     » goto parent     » topic index » view message » categorize

9. Re: Eu and multithreading

On 11 Jan 2001, at 9:56, ck lester wrote:

> Kat,
>
> What in the world are you doing? Is there someplace on the 'net where we can
> see your handiwork? smile

Well, Tiggr has been online for 3 years now, and the mirc-Eu code has
been in the archives for about a year too. Beyond that, there isn't much to
see. I am so bogged down in real life stuff that i can't seem to get much
programming done nowadays.

Kat

>
> > I thread mirc with 3 mirc.exe's, and i use one mirc.exe with an Eu
> > application,, so you can even run threads across programming languages.
> >
> > Kat
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>

new topic     » goto parent     » topic index » view message » categorize

10. Re: Eu and multithreading

Kat,

Ok, but where (and what) *is* Tiggr?  :)

And how about (re-)describing your AI, too?

Dan Moyer

----- Original Message -----
From: "Kat" <gertie at PELL.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Thursday, January 11, 2001 9:41 AM
Subject: Re: Eu and multithreading


> On 11 Jan 2001, at 9:56, ck lester wrote:
>
> > Kat,
> >
> > What in the world are you doing? Is there someplace on the 'net where we
can
> > see your handiwork? smile
>
> Well, Tiggr has been online for 3 years now, and the mirc-Eu code has
> been in the archives for about a year too. Beyond that, there isn't much
to
> see. I am so bogged down in real life stuff that i can't seem to get much
> programming done nowadays.
>
> Kat
>
> >
> > > I thread mirc with 3 mirc.exe's, and i use one mirc.exe with an Eu
> > > application,, so you can even run threads across programming
languages.
> > >
> > > Kat
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Talk to your friends online with Yahoo! Messenger.
> > http://im.yahoo.com
> >

new topic     » goto parent     » topic index » view message » categorize

11. Re: Eu and multithreading

Why doesn't one of us make a thread library that wraps pthreads under Linux
and Windows's threading capabilities under Windows?

 - Matt

new topic     » goto parent     » topic index » view message » categorize

12. Re: Eu and multithreading

On Mon, 15 Jan 2001, Darth Maul, aka Matt wrote:

> Why doesn't one of us make a thread library that wraps pthreads under Linux
> and Windows's threading capabilities under Windows?
>
>  - Matt
>

Well, I wrapped pthereads... but since Eu is not reentrant, the results
get pretty ugly, and it really isn't useable.

Jeff Fieldingy

new topic     » goto parent     » topic index » view message » categorize

13. Re: Eu and multithreading

On Mon, 15 Jan 2001, Darth Maul, aka Matt wrote:
>> Why doesn't one of us make a thread library that wraps pthreads under Linux
>> and Windows's threading capabilities under Windows?

I think the major reason that no one is wrapping threading libraries hightly
(minus Jeff) is that no one is sure how well euphoria will be able to handle
those thread libraries and how stable they will be. Dont quote me on that,
but that is the general feeling i get about thread libraries

>>  - Matt
-- 
evil, corruption and bad taste
^[cense]

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu