[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Merging libraries' main loops
- From: Stefan Reich <stefan.reich.maker.of.eye@...>
- Date: Mon, 14 Nov 2011 16:31:57 +0000
Yeah, actually I just found the step function in Iup. Minutes after
typing the mail...
OK, so calling the step functions with some small sleep inbetween
(100ms or some such) might basically do the trick. I'll do some more
experimentation and report how it works.
.Stefan
On Mon, Nov 14, 2011 at 4:25 PM, Daurnimator <quae@daurnimator.com> wrote:
> Nearly every library with a loop function will also have a step() function
> ==> the loop function will just call step with an appropriate sleep inside.
>
> To put together multiple libraries; just call their step functions.
> Depending on how often you need to call it: you may end up with while
> true do a.step(); b.step(); c.step() end
> or you might end up with something more complicated that involved
> waits or some other notification/event system.
>
>