PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

What will happen If onNextFrame() runs more than 1/32 of sec

I guess it'll only lower the fps number.

But want to clarify.
Is there some danger that new onNextFrame() begins to run, when another older onNextFrame() have no yet done its work?
Hi Nomad,
It will lower the fps number. The next onNextFrame method won't run until the previous one finishes.

Regards,
Sergio.
Nomad · 01 Nov 2006, 13:08 UTC — And onother, more general question on this subject
Is GledPlay a single or multi-threaded library?

All events that occur (buttons, stylus etc.) comes at first into one procedure and than switch'ed/case'd to appropriate onEventHandler()?

or there is another scenario?
Hi Nomad.

GledPlay is a single threaded lib.
Events are queued and the proper event handlers methods are executed in order, without simultaneous execution.

Best Regards,
Sergio.