Falmarri
Falmarri

Reputation: 48577

Acquiring the global interpreter lock from python

Is it possible to acquire the global interpreter lock from python code? Or is that purely implemented in the C side?

Upvotes: 3

Views: 1092

Answers (1)

Marek Sapota
Marek Sapota

Reputation: 20601

If your code executes then you have the GIL, no need to acquire it manually.

Upvotes: 7

Related Questions