Reputation: 1632
As the question says, if I run two different python scripts on two different terminals (Ubuntu 22.04) like
$ python3 script1.py
$ python3 script2.py
does the global interpreter lock still prevent their concurrent execution? Or does the GIL only prevents thread pooling or process pooling (via the concurrent.futures
module) only within the same parent process?
Upvotes: 1
Views: 33