Skip to content

[pyTorch] fix the KeyInterrupt not beeing passed to c++ code #21

@kboroszko

Description

@kboroszko

When the code in C++ is executing and interrupt happens python sets a flag, waits for the code to finish and then handles the interrupts afterwards. Because of that, we might only check PyErr_CheckSignals() from within c++ code, but we won't bother with registering our own signal handlers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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