[PyKDE] Re: /ReleaseGIL/ in sip source

Phil Thompson phil at riverbankcomputing.co.uk
Fri Mar 5 20:18:01 GMT 2004


On Friday 05 March 2004 19:08, Claus, Richard wrote:
> What's the /ReleaseGIL/ about (e.g. qsocket.sip in readBlock()) and when do
> I need it?

You should use it when the method might block (or at least take a while to 
execute) to allow other threads to run.

Phil




More information about the PyQt mailing list