Skip to content

"Interrupt" priority not clear - or are events queued? #59

@pikablue

Description

@pikablue

Apologies for raising this as an issue, but I couldn't see it in the code. Basically, are the events handled by interrupt, or by queue? I seem to be missing events (midi, keypresses, etc.).

Firstly, can someone explain what the interrupt or queue handling priority is between all the various app_*_events, and app_init?
In particular, do the app_*_events only start being called once app_init has completed, or is there an assumption about how long app_init might take to complete?

Secondly, are events queued or handled by interrupt?

  • If code in app_timer_event takes longer than 1ms to execute, what happens? Does a queue fill up, or are the next 1ms timer events simply not queued?
  • If code in app_timer_event (or app_surface_event, or app_aftertouch_event or app_midi_event) is executing when another event occurs, what happens?
  • How long is the queue?

Thanks,

..pika..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions