Re: Multiple loops interrupt each other :(
- Posted by "Elliott S. de Andrade" <quantum_analyst at hotmail.com> Jan 14, 2004
- 408 views
>From: Isaac Raway <isaac-topica at blueapples.org> >Subject: Re: Multiple loops interrupt each other :( > >He wants to run multiple loops at the same time. Sounds like threads to >me...using timers or other solutions came up because we can't do threads in >Euphoria (by the way, are we sure about that?). > Quite definitely, I've tried with a few libraries. >I think Multimedia Timers are still the way to go. But...now that I think >about it again, I don't know if it's possible because you have to pass >timeSetEvent a procedure address...we can't do that can we? Oh well. > Yes, of course, just use a function, and return some junk value. It's just discarded anyway. >Feature for 2.5: Threads. > Yep, I'd agree with that. It would also be nice to be able to ignore a function's return value, with my suggestion of prepending the function with ~. It's noticeable, simple, and not confusing (for a reader, or the parser, even). >Isaac >