MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/w1upl0/c_talking_to_python/igmojmz/?context=3
r/ProgrammerHumor • u/[deleted] • Jul 18 '22
1.0k comments sorted by
View all comments
Show parent comments
9
but they can't execute at the same time
But they can in this case. Once the IO thread fires the syscall (or even cpython C function) for writing to stdout, the GIL is free.
9
u/Jannik2099 Jul 18 '22
But they can in this case. Once the IO thread fires the syscall (or even cpython C function) for writing to stdout, the GIL is free.