[clug-progsig] Keeping Status
sgrover at open2space.com
Thu Feb 8 11:08:15 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
I think both you and John have provided some of the standard methods to
do the statuses. What's missing from the equation though is an
understanding of how the structures interact (which could be a bad
Johns suggestion was actually one of my first attempts, though not quite
to the extent he suggested. I created "status" object that was
responsible storing the status messages, and updating the status area.
But I don't think I fully appreciated how dynamic the status messages
would be, so the method failed to work well.
For instance, one object will go through "Loading data", "Request Sent",
"Received Data being processed". Perhaps if I just set "Loading data",
and leave it at that...
Seeing as it is only status messages, I've set this aside for now to
focus on some other parts of the app that are in need of attention, like
performance. I'm seeing a 10 second difference in render times between
IE and FF... sighs... A coder's work is never done.
Regardless thank you both for the suggestions. Food for thought once I
get a little rest.
Mark Carlson wrote:
> On 2/8/07, Shawn <sgrover at open2space.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> Related to this: How can I tell when all the async processing has been
>> done?? (I think I can see a couple ways to determine this, but it's
>> SOOO closely related, I thought I'd see what you have to say.. :)
> Semaphores / Locks?
> Very handy things, as long as you can use them, that is. Just aquire
> a lock when a request is made to modify any of the objects. If
> something else comes along and tries to lock it, it is blocked until
> whoever has the previous lock releases it (is done with the objects.)
> Of course, there is always the case that I totally missed the problem
> you are trying to solve...
> clug-progsig mailing list
> clug-progsig at clug.ca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the clug-progsig