Using the Windows threads and processes functions
- Posted by Jonas Temple <jtemple at yhti.net> Jul 14, 2004
- 703 views
All, Back in my Borland C++/OWL days I wrote a program that started up a process and would wait until the process completed before the "parent" program would continue. I know this question has come up before about using shellExecute() to start a process and wait until it completes before continuing (which you can't do). I've been looking into this again (and considering wrapping the process and thread APIs) and was wondering if anyone has ever used the CreateThread, SuspendThread, ResumeThread and TerminateThread with Euphoria? I was wondering if it was possible, using these routines, to simulate threads in Euphoria under Windows? It seems to me that since Windows can call a Euphoria routine it might be possible but I'm wondering that with the non-threaded nature of Euphoria would this not work? Any insights would be appreciated. Jonas