Slide 28
Slide 28 text
Copyright (C) 2010, David Beazley, http://www.dabeaz.com
GIL Instrumentation
• To study thread scheduling in more detail, I
instrumented Python with some logging
• Recorded a large trace of all GIL acquisitions,
releases, conflicts, retries, etc.
• Goal was to get a better idea of how threads
were scheduled, interactions between threads,
internal GIL behavior, etc.
28