Re: [Pyobjc-dev] Web Services Tool example broken
Brought to you by:
ronaldoussoren
From: Just v. R. <ju...@le...> - 2004-04-06 07:01:57
|
Bob Ippolito wrote: > I have no idea how to reasonably debug that example, it freely mixes > ObjC and Python threading code. It's not even correct for at least > one reason: it doesn't detach an NSThread anywhere, so Foundation and > Cocoa are not notified to be thread safeish. Even though it did work > previously, that might have been by accident. Huh? The WST example goes through great pain not to call any GUI code from the worker threads, so I don't see why Cocoa needs to be notified. It's also the first time I hear that pure pthreads would be a no-no in Cocoa. Is that really so? How do NSThreads cooperate with the threading module? Just |