Re: Xmanager/multitasking windows [message #2453] |
Thu, 14 July 1994 14:13 |
crdmi
Messages: 10 Registered: February 1994
|
Junior Member |
|
|
In article <300s5mINN7qp@i32.sma.ch>, stl@sma.ch (Stephen Strebel) writes:
> Hi all,
>
> well I promised earlier to give an example of how you can make windows
> run two programs at once (sequential event starting two different
> functions/routines).
>
> If anyone, thinks I am wrong, I would LOVE to see your solution.
I haven't tried this but how about this:
Instead of writing the routine to do your entire computation, write a
routine that does a small piece of it. When you recieve an event
triggering the computation, set up a TIMER event. Each time the timer
event happens you do a little more of the computation, and set a new
timer event, until the computation is done.
--
Daniel M. Israel
<crdmi@vulcan.giss.nasa.gov>
Goddard Institute of Space Studies
2880 Broadway, New York, NY
|
|
|