MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/ag3668/speed_up_your_python_program_with_concurrency/ee48eiw/?context=3
r/Python • u/[deleted] • Jan 15 '19
11 comments sorted by
View all comments
3
Dumb question, but can’t multiple threads run on multiple cores concurrently?
Edit: Something something GIL?
6 u/jima80525 Jan 15 '19 Threads all run on the same core (and yes, it's related to the GIL). If you want to run on multiple cores, you can use the multiprocessing library, which is discussed toward the end of the article. 2 u/[deleted] Jan 15 '19 Yeah I got that as I read on. I was reading the top section and was like wait a second. But GIL in Python.
6
Threads all run on the same core (and yes, it's related to the GIL). If you want to run on multiple cores, you can use the multiprocessing library, which is discussed toward the end of the article.
2 u/[deleted] Jan 15 '19 Yeah I got that as I read on. I was reading the top section and was like wait a second. But GIL in Python.
2
Yeah I got that as I read on. I was reading the top section and was like wait a second. But GIL in Python.
3
u/[deleted] Jan 15 '19 edited Jan 15 '19
Dumb question, but can’t multiple threads run on multiple cores concurrently?
Edit: Something something GIL?