[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-29548: Fix some inefficient call API usage by methane · Pull Request #97 · python/cpython

methane

vstinner changed the title Fix some inefficient call API usage bpo-29548: Fix some inefficient call API usage

Feb 15, 2017

…ment.

Closed

akruis pushed a commit to akruis/cpython that referenced this pull request

Sep 9, 2017
This change removes the "static" declaration from the function slp_switch().
This forces the compiler to adhere to the ABI specification.

On i386 and amd64 it is now save to configure stackless with
--enable-stacklessfewerregisters, except if you compile for darwin. The flag
disables explicit saving of %ebp/%rbp.

On Unix-like systems the source file slp_transfer.c now gets compiled
with the additional flag -fno-inline-functions instead of -O2.

https://bitbucket.org/stackless-dev/stackless/issues/98
(grafted from 4f7698499ad53e5fad61fb415fbfe2c036672a9c)

akruis pushed a commit to akruis/cpython that referenced this pull request

Sep 9, 2017

Mr3x33 added a commit to Mr3x33/cpython that referenced this pull request

Sep 17, 2021

colesbury referenced this pull request in colesbury/nogil

Oct 6, 2021
This replaces the array of qbsr threads with a stack, which
allows us to get rid of the stop-the-world call. There was
an initialization order bug: registering a new qsbr thread
might stop-the-world, but stopping the world requires the
thread to already be attached!

This will probably make the qsbr scan even slower, but we
can improve that in the future.

Fixes #97

Closed

Closed

Closed

This was referenced

Feb 11, 2025

Open

Closed

ambv referenced this pull request in ambv/cpython

Apr 8, 2025
Fix syntax error

Open