Improve Python tree-shaking

This commit is contained in:
Justine Tunney 2021-09-06 19:24:10 -07:00
parent 5bb2275788
commit 4f41f2184d
169 changed files with 4182 additions and 2411 deletions

View file

@ -9,6 +9,22 @@
/* clang-format off */
PYTHON_PROVIDE("_thread");
PYTHON_PROVIDE("_thread.LockType");
PYTHON_PROVIDE("_thread.RLock");
PYTHON_PROVIDE("_thread.TIMEOUT_MAX");
PYTHON_PROVIDE("_thread._count");
PYTHON_PROVIDE("_thread._local");
PYTHON_PROVIDE("_thread._set_sentinel");
PYTHON_PROVIDE("_thread.allocate");
PYTHON_PROVIDE("_thread.allocate_lock");
PYTHON_PROVIDE("_thread.error");
PYTHON_PROVIDE("_thread.exit");
PYTHON_PROVIDE("_thread.exit_thread");
PYTHON_PROVIDE("_thread.get_ident");
PYTHON_PROVIDE("_thread.interrupt_main");
PYTHON_PROVIDE("_thread.stack_size");
PYTHON_PROVIDE("_thread.start_new");
PYTHON_PROVIDE("_thread.start_new_thread");
/* Thread module */
/* Interface to Sjoerd's portable C thread library */