[PyKDE] python in realtime requirements

Phil Thompson phil at riverbankcomputing.co.uk
Sun Aug 29 23:08:06 BST 2004


On Sunday 29 August 2004 10:21 pm, Patrick Stinson wrote:
> Do calls to the python C API acquire the GIL for each of its public
> methods? If so, that would render python completely incapable of being used
> for multi-threaded realtime applications, where one of the threads is not
> to make *any* blocking calls. Am I right in assuming this?

The Python API *requires* that the GIL is held when an API call is made.

Phil




More information about the PyQt mailing list