Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 55dcff9

Browse files
author
Anselm Kruis
committed
Stackless issue #283: concentrate platform dependent code in
slp_transfer.c and eliminate pycore_slp_platformselect.h Restore the definition of SLP_CSTACK_MAXCACHE.
1 parent a8bac21 commit 55dcff9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Include/internal/pycore_slp_pystate.h

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
/* This include file is included from pycore_pystate.h only */
1818

19+
/* how many cstacks to cache at all */
20+
#ifndef SLP_CSTACK_MAXCACHE
21+
#define SLP_CSTACK_MAXCACHE 100
22+
#endif
1923

2024
/* adjust slots to typical size of a few recursions on your system */
2125
#ifndef SLP_CSTACK_SLOTS

0 commit comments

Comments
 (0)