[ python-Feature Requests-1572968 ] release GIL while doing I/O operations in the mmap module

SourceForge.net noreply at sourceforge.net
Tue Oct 17 00:12:42 CEST 2006


Feature Requests item #1572968, was opened at 2006-10-07 17:26
Message generated for change (Comment added) made by josiahcarlson
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1572968&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Lukas Lalinsky (luks)
Assigned to: Nobody/Anonymous (nobody)
Summary: release GIL while doing I/O operations in the mmap module

Initial Comment:
There is a few system I/O calls in the mmap module that
can take some time. Would be be possible to put
Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS around
these to release the GIL and allow other Python threads
to do their work?

----------------------------------------------------------------------

Comment By: Josiah Carlson (josiahcarlson)
Date: 2006-10-16 15:12

Message:
Logged In: YES 
user_id=341410

Can you come up with the listing of code blocks where it
would make sense to allow threads, or even provide a patch?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1572968&group_id=5470


More information about the Python-bugs-list mailing list