Miscellaneous
#############


.. _gil:

Global Interpreter Lock (GIL)
=============================

The Python C API dictates that the Global Interpreter Lock (GIL) must always
be held by the current thread to safely access Python objects. As a result,
when SystemVerilog calls Python via PyStim the GIL must be held, and PyStim
will never implicitly release the GIL.

