[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

Ronald Oussoren report at bugs.python.org
Mon Jul 2 08:08:40 EDT 2018


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

Have you looked at benchmark results for this patch?

In particular, PyOS_CheckStack is called quite often and I wonder how those calls affect performance. If there is a clear performance impact it would be useful to store some information in the python thread state.

In what versions of macOS are there problems with pthread_get_stacksize_np() on the main thread?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33955>
_______________________________________


More information about the Python-bugs-list mailing list