diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2024-12-08 08:28:46 +0900 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2024-12-08 08:58:27 +0900 |
commit | 0b6b450c64002dcdef09c10176ab181a17e09e52 (patch) | |
tree | 6759f31f07f7bbca2dfe3006fdaccd563c4fe408 /include/gcc-c-interface.h | |
parent | 376fe1dab17791238f57fa6d071d3600651dead0 (diff) | |
download | newlib-0b6b450c64002dcdef09c10176ab181a17e09e52.zip newlib-0b6b450c64002dcdef09c10176ab181a17e09e52.tar.gz newlib-0b6b450c64002dcdef09c10176ab181a17e09e52.tar.bz2 |
Cygwin: _cygtls: Remove _cygtls::spinning
There seems to be no rationale reason for _cygtls::spinning to exist,
so it has been removed. _cygtls::spinning was introduced in the commit
edc4f86ad282A, and this flag means that another thread is waiting to
acquire _cygtls::stacklock. It is checked in the sig thread in _cygtls::
interrupt_now(), and if spinning is true, the interrupt will be delayed.
However, in this case, _cygtls::incyg is also set, so it is supposed to
be covered by _cygtls::incyg flag and does not seem to add any value.
If some problems happen in the signal handling, it might be a good idea
to revert this commit and check if the issue will be fixed.
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diffstat (limited to 'include/gcc-c-interface.h')
0 files changed, 0 insertions, 0 deletions