Skip to content
Tcl Source Code Artifact [3650ab36bc]
Login

Artifact [3650ab36bc]

Artifact 3650ab36bc152d81fe4d884846889f3d52eaf1ac:

Ticket change [3650ab36bc] - Ticket [450795ffffffffff|450795ffff] <i>implement TclpCheckStackSpace() for unix</i> status still Open with 4 other changes by msofer on 2002-02-27 21:50:45.
D 2002-02-27T21:50:45
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nNote\sthat\sthis\spatch\simplements\sa\s"light"\nTclpCheckStackSpace:\sit\smonitors\sthe\sremaining\sstack\sspace\nwith\srespect\sto\sthe\smaximum\sallowed\sby\sthe\sOS,\sbut\s*not*\nagainst\sstack-heap\scollisions.\sThe\swin\simplementation\s(and\npresumably\sthe\smac\stoo)\smonitor\sboth.\n\nJoe\sEnglish\shas\sproposed\sa\ssolution\sfor\slinux/gcc\sin\nnon-threaded\sbuilds\sthat\smonitors\sthe\sstack-heap\sdistance\n"as\slong\sas\syou\shaven't\scalled\smmap()/shmget/whatever\s(not\nsure\show\sthat\saffects\sthe\smemory\smap)".\sIt\sis\sdone\sby\nsetting\sthe\scondition\sto\smonitor\sto\n\n((&here\s>\stclMinCStackPos)\s&&\s(&here\s\s>\ssbrk(0)\s+\ntclMinCStackSize))\n\n
J login msofer
J mimetype text/plain
J username msofer
K 450795ffffffffffffffffffffffffffffffffff
U msofer
Z 7fd8b778e66b7eff1e7797fadd1d2e81