Re: Simulate multi-threading and shared memory

new topic     » goto parent     » topic index » view thread      » older message » newer message
cp said...

Looking for feedback on the practicality of simulating multiple threads. Love to hear if someone else has or is doing something similar - or am I off my rocker..

The idea is to have a euphoria exe running as a windows service. It will then start x number of smaller euphoria exe applications (via command line) and pass data to/from those app's via shared memory.

I have prototyped this and it seems to work - but am I missing something? Is this reliable, stable and fast enough?

Thanks for feedback.

I have done something similar before on GNU/Linux: http://openeuphoria.org/forum/m/82398.wc

That was a lot easier because of Unix schemantics regarding fork().

But, iiuc you want to run an Euphoria app as a service? And you want to use multiple processes to emulate the multithreading that's required to natively run as a service? (As opposed to wrapping the app in something like winserv http://www.sw4me.com/wiki/Winserv )

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

Search



Quick Links

User menu

Not signed in.

Misc Menu