Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Do threads work? What are the modules that work?

modules threads
0
Posted

Do threads work? What are the modules that work?

0

Operating system-level threads basically work. If you enable the thread module then PyPy will get support for GIL based threading. Note that PyPy also fully supports stackless-like microthreads (although both cannot be mixed yet). All pure-python modules should work, unless they rely on ugly cpython implementation details, in which case it’s their fault. There is an increasing number of compatible CPython extensions working, including things like wxPython or PIL. This is an ongoing development effort to bring as many CPython extension modules working as possible.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123