Re: [Pyobjc-dev] tableview crash
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2004-03-19 09:16:17
|
On Mar 19, 2004, at 1:30 AM, b.bum wrote: > On Mar 18, 2004, at 9:45 PM, Burris T. Ewell wrote: >> I think I'm running latest CVS and built in 2.3 on 10.3.2 > > (0) It sounds like you are tripping over some threading weirdness.... > > ... but before you go down that route .... > > (1) make sure you are leveraging Cocoa Bindings as much as possible. > It will eliminate code -- one less line of code is one less potential > bug. > > http://developer.apple.com/documentation/Cocoa/Conceptual/ > CocoaBindings/index.html > > (2) have a look at the Twisted+WebServices+ControllerLayer example > found in the examples. It does multithreaded filling of a table view > and I haven't encountered a crash.... It's only technically multithreaded because CoreFoundation uses an additional thread behind the scenes to do a select loop. Python only knows about the event loop thread, so I would consider it single threaded. -bob |