From: Maxwell, A. R <ada...@pn...> - 2005-01-27 20:28:32
|
Hi all, I hacked in threaded file loading using the new parser over lunch today; it's cool to peg both CPUs on my G5 loading multiple files, and see the tableview populate (until you click an item in the tableview that's loading and it locks up). Is this worth working on? It will never work with libbtparse (the docs say it isn't thread safe), but it works fine with the new one, after making BibTeXParser an instantiable object. The main hurdle seems to be drawing in BibDocument, and I should look at the newio branch again to see how Mike handled that. Would BibDocument need to implement the NSLocking protocol for this to work properly? later, Adam |