This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch aevri/win32_receive_signals in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit d80a5f50975fa398749b172b4b729d163bde6f06 Author: Angelos Evripiotis <[email protected]> AuthorDate: Tue Oct 8 15:09:39 2019 +0100 _signals.blocked: early-out on win32 --- src/buildstream/_signals.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/buildstream/_signals.py b/src/buildstream/_signals.py index a29cbdc..92e760e 100644 --- a/src/buildstream/_signals.py +++ b/src/buildstream/_signals.py @@ -179,6 +179,11 @@ def suspendable(suspend_callback, resume_callback): # @contextmanager def blocked(signal_list, ignore=True): + if sys.platform == 'win32': + # Win32 does not support any signals that we are interested in, and we + # also can't use `signal.phtread_sigmask`, so early out here. + yield + return with ExitStack() as stack:
