Embedding Python 2.2 in non-reentrant application

Stefan Werner stefan1werner at hotmail.com
Tue Jun 11 16:52:51 EDT 2002


Hi,

"Martin v. Loewis" <martin at v.loewis.de> schrieb:

> No, you don't have to do anything. Inside a C function, you hold the
> GIL, and any other Python thread will block while your C function is
> running.

So, I can write Python modules in C just as I did for 1.5? What a
relief...keeping an eye on ownership and reference counting is enough work
already :)
Excuse my ignorance, but what does GIL mean?

Thanks so far,
  Stefan





More information about the Python-list mailing list