Threads vs Python's Global Interpreter Lock
Find a file
2017-10-01 22:17:52 +05:30
hiruko-rc1-3.6.patch rename 2017-09-28 05:22:33 +05:30
hiruko.patch add patch file 2017-09-21 13:11:32 +05:30
LICENSE.md add LICENSE 2017-09-21 13:24:34 +05:30
plot.py add plotting code 2017-10-01 01:19:47 +05:30
README.md update readme with latest status 2017-10-01 22:17:52 +05:30

Hiruko

Getting inside Python's GIL(Global Interpreter Lock) and Analyzing how it works with threads.

Note: Work in Progress (It will take time; I am not good in C :|)

The Code

  • I've included the patch file to log GIL ticks and threads executed
  • Or, you can check out my fork of CPython at:

Questions

  • How the number of cores affects thread execution and GIL?
  • How the number of threads affects their execution and GIL?
  • And more ...

(feel free to create a new issue if you have any suggestions)

Credits

Almost entirely adapted from this awesome talk by David Beazley and his blog here

The Name

see: Hiruko