comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Running processes in parallel
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Running processes in parallel [message #49244] Wed, 12 July 2006 13:10
WorkerAnt is currently offline  WorkerAnt
Messages: 1
Registered: July 2006
Junior Member
Currently, there is a for loop in my program that takes anywhere from a
couple of seconds to a couple of minutes. (The procedure runs a step by
step animation using the wait function). It's called from an event
handler whenever a button in the widget is pushed. I want to be able to
stop anytime in the middle of the animation when another button is
pressed. (As opposed to the ctrl break method).
However, the event handler is unable to process the stop button getting
pushed until the for loop procedure is complete, thus defeating the
purpose. Is there any way to run two procedures in parallel? Or a time
independent way to have one take priority over another?
Barring these two possibilities working, is there any other way of
having the animation stop?
[Message index]
 
Read Message
Previous Topic: Displaying isosurface- Hollow images
Next Topic: Rendering order

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 04:36:33 PDT 2025

Total time taken to generate the page: 0.89069 seconds