Skip to content

os: add a mechanism for signal handling #6

Description

@Wertzui123

There is currently no way to handle system-signals in ASPL without custom implementation calls. I think this feature should be part of the standard library.

Example usage:

import os

os.register_signal_handler(Signal.Interrupt, callback(){
    print("SIGINT detected...")
    // TODO: Do something here
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions