[Pythonmac-SIG] NSOperation and python method calls

Saptarshi Guha saptarshi.guha at gmail.com
Sat Nov 15 02:33:48 CET 2008


Hello,
	Suppose I have a PyObjc subclass of NSObject with method 'foo'. I  
create NSOperation op1,op2 which call the method foo
and add it to a NSOperation Queue (roughly speaking).
	Q: Will these methods run simultaneously? Does the python GIL affect  
anything?

	foo() doesn't call c methods and is pure python, though it may call  
Cocoa methods.
	Thank you
	Saptarshi




More information about the Pythonmac-SIG mailing list