A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-February/123780.html below:

[Python-Dev] Release or not release the GIL

[Python-Dev] Release or not release the GIL [Python-Dev] Release or not release the GILVictor Stinner victor.stinner at gmail.com
Fri Feb 1 01:07:16 CET 2013
Hi,

While working on the implementation of the PEP 433, I saw different
places where Python asks for operating resources without releasing the
GIL.

In my implementation, I released the GIL in the following places. Is it correct?

- os.dup()
- os.dup2()
- os.pipe()
- socket.socketpair()

os.listdir() releases the GIL to call dup(), whereas os.dup() doesn't.

Victor
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4