41 ms·
Yes. Actually you get one gil per interpretter, and can spawn your thread in sub interpretter. Cpython could do it, but currently can't provide much since the
by sametmax 8y ago
Yes. Actually you get one gil per interpretter, and can spawn your thread in sub interpretter.
Cpython could do it, but currently can't provide much since the api to do it is only accessible from c.
- FartyMcFarter 8y agoDoesn't CPython do this with the multiprocessing module? https://docs.python.org/2/library/multiprocessing.html https://docs.python.org/2/library/multiprocessing.html
- sametmax 8y agoNo, this spawns several process, while sub interpretters allow you to have several of them in one single process, making data sharing much cheaper.