Summary: | pycairo freezes apache + mod_wsgi | ||
---|---|---|---|
Product: | pycairo | Reporter: | keen <keen.browne> |
Component: | general | Assignee: | Steve Chaplin <d74n5pohf9> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
keen
2012-04-20 12:43:07 UTC
I thought that using PyGILState_Ensure and PyGILState_Release was the recommended method when you are using an external C library to write to a file. Py_BEGIN_ALLOW_THREADS may work better. If you can test it, and report back with the results, that would be useful. I don't know how sub-interpreters affect GIL related code, but the current code looks correct to me and the proposed solution definitely does not. If someone happens to end up here and has some additional information or examples please file a bug @ https://github.com/pygobject/pycairo/issues |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.