Discussion of: Python Global Interpreter Lock

From epsciwiki
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