Hi people,
There is this REALbug that I've come across in trying to add a
feature to my ElfDataParser class.
http://www.realsoftware.com/feedback/viewreport.php?reportid=rsxtlmag
Basically, it would allow for a very simple way to make your use of
ElfDataParser, be multi-threadable. As it is, using ElfDataParser
usually relies on adding "state" properties to your subclass instance
of ElfDataParser. You can't have two threads working on the same
properties at once, because these states represent the current
parsing state.
By putting the state into a context parameter that is passed to the
token handlers, we can free our ElfDataParser from needing any state
associated with it.
I was going to add a feature to let you define the type of the
context parameter passed. It's in the current beta. But... REALbasic
crashes just as this bug report describes. So the feature doesn't work.
Sign up to the bug report at the above URL, if you think this
improved ElfDataParser is something you'd like to use.
--
http://elfdata.com/plugin/