3 ms·
There is native support for threads, it's just that they don't run concurrently.
by askvictor 9y ago
There is native support for threads, it's just that they don't run concurrently.
- nothrabannosir 9y agoAt this point the word is so far removed from the meaning in this thread you might as well say a haberdasher supports threads.
- askvictor 9y agoThere are valid reasons for programming with threads with only a single CPU (indeed when I learnedb thread programming in the 90s pretty much only single core cpus were available). For instance, IO blocking.
- weberc2 9y agoWhile we're being pedantic, they do run concurrently (for example, dispatching a dozen concurrent HTTP requests), they just the GIL prevents most CPU work from executing in parallel.
- dragonwriter 9y agoThey do run in parallel, so long as all but one are running low-level library code which has released the GIL, but you can't call back into the runtime without grabbing the GIL.