Re: Multitasking Preview Release

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

Juergen Luethje wrote:
> I wrote a plugin (a Windows DLL) for Total Commander. Sometimes, when
> the DLL reads/writes huge files, obviously Total Commander is not able
> to update the optical appearance of its main window, until the DLL has
> finished its work.
> 
> Can I do something to solve the problem now, without the new
> multitasking system? Can the new multitasking system help to write
> "more cooperative" DLLs?

You either need some kind of non-blocking I/O, or you need
TDLL (Daniel Kluss) which creates a new O/S thread and returns
immediately. I assume it will be safe to run the Euphoria interpreter 
in one O/S thread, and some DLL code in another.

I'm not sure yet how multitasking is going to work with
Euphoria-coded DLLs. Main Euphoria programs and Euphoria-coded DLLs
don't even share the same routine ids. Probably a Euphoria DLL 
could run its own tasks independent from the main program.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu