Re: Using the Windows threads and processes functions
- Posted by Al Getz <Xaxo at aol.com> Jul 16, 2004
- 639 views
Hello all, My next version of the WinClass Library will have something similar to a secondary thread, where you can do things that take an extremely long time (like save a large file) while the user still gets to choose options such as 'stop saving', etc., or menu options, and doesnt stop the windows from being redrawn. You can give the user the option of 'quiting' the program or prevent them from quiting while the file is being saved, so the app doesnt loose data because they quit early. Even so, i can still see using two Euphoria exe's and file mapping as a good alternative to threads, where the two share only the data they need to share. Might acutally be simpler then implementing an app using multiple threads anyway because it force you to keep careful track of what data is being shared. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"