Re: Multitasking/Eu/WinLib

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

Grape_ Vine_ wrote:

> Is there a way to make a true task manager in Eu? Is there a way to access
> the windows taskman and give it different sections of code to run?
> If so can it be a eu function or procedure or would i have to use a dll?
>
> PS I am using WinLib, that doesn't help does it
>
> GrapeVine
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Euphoria doesn't support multitasking, so while it is possible to make the
right system calls (I've tried on Linux), the program gets really messed up.
I wrote a cooperative multitasking type library (ESE or an Event System for
Euphoria) which does events as well as simple multitasking, but
id doesn't use real threads and you have to program each section between task
switches. It works fairly well for simple things, though. For example,
you can use it in a game to play sounds on the PC speaker "at the same time"
as you are accepting key events etc. My game programming library uses this
extensively.

Jeff

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

Search



Quick Links

User menu

Not signed in.

Misc Menu