Author njs
Recipients njs, vstinner
Date 2017-04-12.02:13:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The attached script fails consistently for me using cpython 3.6.0 on my windows 10 vm:

> python
Attempt 0: start
Attempt 0: FAILED, took 10.016000000000076 seconds
select_calls = 2

(It may help that the VM only has 1 CPU? But the same test passes on Linux even when I use taskset to restrict it to 1 cpu. Maybe Windows has some scheduling heuristic where one thread writing to a socket when another thread is blocked on it triggers an immediate context switch.)
Date User Action Args
2017-04-12 02:13:39njssetrecipients: + njs, vstinner
2017-04-12 02:13:39njssetmessageid: <>
2017-04-12 02:13:39njslinkissue30038 messages
2017-04-12 02:13:38njscreate