"No matter what happens there is going to be a lock occurring. No two PyThreadStates can execute Python bytecode at the same time. However, they can execute multiple C calls at the same time which is why for long running pure C operations extension and embedding developers are encouraged to release the GIL temporarily."
Very exciting! I wonder what the first set of motivating applications are and what kind of performance gains are they expecting.
Comments
Very exciting! I wonder what the first set of motivating applications are and what kind of performance gains are they expecting.
Lxml frees the GIL internally and iirc the motivation was something like concurrent reads of different portions of large documents.