This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients josiahcarlson, luks, neologix, pitrou
Date 2010-04-06.13:56:04
SpamBayes Score 3.6914175e-06
Marked as misclassified No
Message-id <1270562166.2.0.25123646283.issue1572968@psf.upfronthosting.co.za>
In-reply-to
Content
This shouldn't really care about VMS here. As for the rest, feel free to propose a patch :)
Please note that most non-trivial system calls, such as ftruncate(), mremap(), even mmap() itself, deserve to be enclosed in Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS pairs.

However, you'll have to be careful that the internal state of the mmap object remains consistent, such that using it from several threads doesn't crash the interpreter.
(you can even add multi-threaded unit tests if you want to be sure of this)
History
Date User Action Args
2010-04-06 13:56:06pitrousetrecipients: + pitrou, josiahcarlson, luks, neologix
2010-04-06 13:56:06pitrousetmessageid: <1270562166.2.0.25123646283.issue1572968@psf.upfronthosting.co.za>
2010-04-06 13:56:05pitroulinkissue1572968 messages
2010-04-06 13:56:05pitroucreate