Skip to content

Re: architecture.md interrupt timing #2

@sam-falvo

Description

@sam-falvo

I would not have a fixed set of queues for interrupt types; rather, I'd make them dynamic.

The reason is I could envision a computer (almost certainly a general purpose computer) which has so many drivers installed that each require the 5ms jiffy service that unconditionally calling each handler on this queue results in violating timing requirements for other services.

Another approach that might work better is a dedicated "timer device" which offers a "call me back at or after this time passes" service. That way, devices (and maybe applications) opt-in to the timer's service, and callbacks happen only for those devices that need to be called.

An example of what I'm talking about is the AmigaOS "timer.device".

Let me know if this makes sense, or if I need to clarify.

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