-
- Downloads
py: Add portable framework to query/check C stack usage.
Such mechanism is important to get stable Python functioning, because Python function calling is handled with C stack. The idea is to sprinkle STACK_CHECK() calls in places where there can be C recursion. TODO: Add more STACK_CHECK()'s.
Showing
- py/mpconfig.h 6 additions, 0 deletionspy/mpconfig.h
- py/objfun.c 4 additions, 2 deletionspy/objfun.c
- py/py.mk 1 addition, 0 deletionspy/py.mk
- py/stackctrl.c 63 additions, 0 deletionspy/stackctrl.c
- py/stackctrl.h 41 additions, 0 deletionspy/stackctrl.h
- unix/main.c 4 additions, 7 deletionsunix/main.c
py/stackctrl.c
0 → 100644
py/stackctrl.h
0 → 100644
Please register or sign in to comment