Search the web
Sign In
New User? Sign Up
elfdata
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Sign on to this REALbug if you use ElfDataParser   Message List  
Reply | Forward Message #43 of 450 |

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/






Fri Sep 15, 2006 11:23 am

boytheouk
Offline Offline
Send Email Send Email

Forward
Message #43 of 450 |
Expand Messages Author Sort by Date

Hi people, There is this REALbug that I've come across in trying to add a feature to my ElfDataParser class. ...
Theodore H. Smith
boytheouk
Offline Send Email
Sep 15, 2006
11:44 am

...but the example code I sent you this afternoon actually does work, is easier to use, with less typing to do. Ronald Vogelaar -- http://www.rovosoft.com ... ...
Ronald Vogelaar
enter@...
Send Email
Sep 15, 2006
12:34 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help