regarding PtTimer

I noticed that PtTimer woudln’t run til another callback function finishes
and return Pt_Continue.
Is there a way I can make the Timer runs constantly ??

ran zhang <rzhang@vamcointernational.com> wrote:

I noticed that PtTimer woudln’t run til another callback function finishes
and return Pt_Continue.
Is there a way I can make the Timer runs constantly ??

You mean you would like your PtTimer call its callback while another
callback is running?

Does calling PtBkgdHandlerProcess() from the other callback sound good
enough for you? If not, you’d need to make your application
multithreaded.

Either way, take a look at the “Parallel operations” chapter in the
Photon Programmer’s Guide.


Wojtek Lerch QNX Software Systems Ltd.