pyo3::gil

Function increment_gil_count

Source
fn increment_gil_count()
Expand description

Increments pyo3’s internal GIL count - to be called whenever GILPool or GILGuard is created.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here