mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Improve Python's threading story
Python threads are now generally working, however some parts of Python's regression tests for threads are flaky. This is possibly due to needing more locking primitives in Cosmo's IO system call wrappers, e.g. close. make o//third_party/python/Lib/test/test_threading.py.runs See #747
This commit is contained in:
parent
60eb34509b
commit
b15f9eb58f
9 changed files with 72 additions and 30 deletions
3
third_party/python/pyobj.c
vendored
3
third_party/python/pyobj.c
vendored
|
@ -100,14 +100,12 @@ const char *const kIgnoredModules[] = /* sorted */ {
|
|||
"_dummy_threading.__all__",
|
||||
"_overlapped", /* don't recognize if sys.platform yet */
|
||||
"_scproxy", /* don't recognize if sys.platform yet */
|
||||
"_thread",
|
||||
"_winapi", /* don't recognize if sys.platform yet */
|
||||
"asyncio.test_support", /* todo??? */
|
||||
"builtins",
|
||||
"concurrent.futures", /* asyncio's fault */
|
||||
"concurrent.futures._base",
|
||||
"concurrent.futures.process",
|
||||
"concurrent.futures.thread",
|
||||
"distutils.command.bdist",
|
||||
"distutils.command.bdist_dumb",
|
||||
"distutils.command.bdist_rpm",
|
||||
|
@ -128,7 +126,6 @@ const char *const kIgnoredModules[] = /* sorted */ {
|
|||
"distutils.command.sdist",
|
||||
"distutils.command.upload",
|
||||
"distutils.spawn._nt_quote_args",
|
||||
"dummy_threading.Thread",
|
||||
"encodings.aliases",
|
||||
"importlib._bootstrap",
|
||||
"importlib._bootstrap.BuiltinImporter",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue