An open API service indexing awesome lists of open source software.

https://github.com/pganssle/capsule-gil-poc

PoC for a GIL bug in PyCapsule_Import
https://github.com/pganssle/capsule-gil-poc

Last synced: over 1 year ago
JSON representation

PoC for a GIL bug in PyCapsule_Import

Awesome Lists containing this project

README

          

### GIL Release PoC
Instructions:

1. Clone repository
2. `make`
3. See the behavior *without* PyCapsule_Import: `./gil`

> Waiting for GIL (0)
>
> Gil acquired! (0)
>
> Waiting for GIL (1)
>
> Gil released! (0)
>
> Gil acquired! (1)
>
> Gil released! (1)

4. See the behavior *with* PyCapsule_Import: `/.gil import`

> Waiting for GIL (0)
>
> Gil acquired! (0)
>
> Waiting for GIL (1)
>
> **Gil acquired! (1)**
>
> **Gil released! (0)**
>
> Gil released! (1)