A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008952.html below:

[Python-Dev] stack check on Unix: any suggestions?

[Python-Dev] stack check on Unix: any suggestions? [Python-Dev] stack check on Unix: any suggestions?Jack Jansen jack@oratrix.nl
Wed, 30 Aug 2000 13:30:01 +0200
My SGI has getrlimit(RLIMIT_STACK) which should do the trick. But maybe this 
is an sgi-ism? Otherwise RLIMIT_VMEM and subtracting brk() may do the trick.

While thinking about this, though, I suddenly realised that my (new, faster) 
Mac implementation of PyOS_CheckStack will fail miserably in any other than 
the main thread, something I'll have to fix shortly.

Unix code will also have to differentiate between running on the main stack 
and a sub-thread stack, probably. And I haven't looked at the way 
PyOS_CheckStack is implemented on Windows, but it may well also share this 
problem.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm 





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4