Discussion of: Python Global Interpreter Lock

From epsciwiki
Revision as of 01:59, 28 September 2020 by Davidl (talk | contribs) (Created page with "'''David''' * The [https://en.wikipedia.org/wiki/CPython Wikipedia page for CPython] spends the entire "Design" section explaining and defending the GIL * The multi-process so...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

David

  • The Wikipedia page for CPython spends the entire "Design" section explaining and defending the GIL
  • The multi-process solution built into Python would not help in programs where C/C++ create multiple threads
  • Similar issues have been encountered in ROOT programs which included an embedded interpreter
    • One solution there has been to funnel all ROOT calls to a queue and a single thread executes them
  • JANA2