Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pendsv needs to play nice with GC #294

Closed
@dpgeorge

Description

@dpgeorge

Pressing CTRL-C on the pyboard generates an exception, in order to break out of any running code and return to the REPL. It does this using pendsv, running at the lowest interrupt priority. The GC is currently not protected from this, and so it can be interrupted at an arbitrary point. This needs to be fixed. Probably also other parts of py that modify global state (eg rt_store_global).

Metadata

Metadata

Assignees

No one assigned

    Labels

    portsRelates to multiple ports, or a new/proposed port

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions