Show More
@@ -61,7 +61,9 b' def ismainthread():' | |||||
61 | return threading.current_thread() == threading.main_thread() |
|
61 | return threading.current_thread() == threading.main_thread() | |
62 |
|
62 | |||
63 |
|
63 | |||
64 | if pycompat.isposix or pycompat.iswindows: |
|
64 | if ( | |
|
65 | pycompat.isposix and pycompat.sysplatform != b'OpenVMS' | |||
|
66 | ) or pycompat.iswindows: | |||
65 | _STARTUP_COST = 0.01 |
|
67 | _STARTUP_COST = 0.01 | |
66 | # The Windows worker is thread based. If tasks are CPU bound, threads |
|
68 | # The Windows worker is thread based. If tasks are CPU bound, threads | |
67 | # in the presence of the GIL result in excessive context switching and |
|
69 | # in the presence of the GIL result in excessive context switching and |
General Comments 0
You need to be logged in to leave comments.
Login now