@boredzo So all bets are off if you're using GCD and don't know the actual thread? Is NSXMLDocument safe?
-
-
-
@mjtsai You can use a serial queue, but not concurrent, for that reason. NSXMLDoc/Element: Probably the same story; haven't looked deeply. - View other replies
-
@mjtsai Actually, concurrent may be fine. Not like GCD is going to call you twice at the same time on the same thread. - View other replies
-
@boredzo You can't ensure that they won't be interleaved on the same thread. But it's OK, I guess, since not called from a callback. -
@mjtsai I don't know of a circumstance where GCD would call you on some thread while that thread is already doing something. - View other replies
-
@boredzo If there were per-thread state, I could not use separate queues per document. But it's moot since you say documents are fine. -
@mjtsai There is per-thread state, which is the problem. But only during parsing.
-
-
-
@boredzo libxml2 limitation…? Global state kills!
-
-
-
@boredzo WHYYYYYYYYYY FOR GODS SAKE WHY WOULD YOU EVER -
@Dirk_Gently@boredzo I had to do that when I had to parse a document that contained another document in a CDATA section.
-
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Petrifying Horror
Michael Tsai
Rob Rix
Brian Norton

David Smith
Demi-lich
Heath Borders
Saul Mora