Skip to content

Conversation

@thiell
Copy link
Collaborator

@thiell thiell commented Oct 22, 2021

Work around Python 3 threading bug https://bugs.python.org/issue42717
when stdin is blocked in read() at interpreter shutdown by using
select() before read().

Fixes #461.

Work around Python 3 threading bug https://bugs.python.org/issue42717 when stdin is blocked in read() at interpreter shutdown by using select() before read(). Fixes #461.
@thiell thiell requested a review from degremont October 22, 2021 17:29
@degremont
Copy link
Collaborator

Don't know if i understood all the side effects of this patch bug would be nice to have a test for that tricky case

@thiell
Copy link
Collaborator Author

thiell commented Oct 23, 2021

testing travis

@thiell thiell closed this Oct 23, 2021
@thiell thiell reopened this Oct 23, 2021
@thiell thiell closed this Oct 24, 2021
@thiell thiell reopened this Oct 24, 2021
@thiell thiell closed this Oct 24, 2021
@thiell thiell reopened this Oct 24, 2021
@thiell thiell self-assigned this Oct 25, 2021
@thiell thiell added this to the 1.8.4 milestone Oct 25, 2021
Work around Python 3 threading bug https://bugs.python.org/issue42717 when stdin is blocked in read() at interpreter shutdown by using os.read() with stdin file descriptor. Fixes #461.
@thiell thiell changed the title Clush: use select() in stdin thread Clush: use os.read() in stdin thread Oct 28, 2021
@thiell thiell merged commit 74c3a10 into cea-hpc:master Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants