Bill Roper (billroper) wrote,
Bill Roper

The Wheels Go Round and Round

I spent most of the day trying to figure out how to modify our error handler class so that multiple threads could write to the same log file. (This is not improved by the fact that our "log file" is actually a bunch of string arrays in memory for most of its life.) After playing with various designs for the stacked error handlers (which install on top of one another on a per-thread basis), I finally realized that the easiest thing to do was to dump the contents of each thread's log back to the parent thread's log when the thread terminates.

Of course, this meant all of the code I'd been playing with was completely useless. But Doug and I did get to explain the concept to the programmer who's going to implement it.

Now, I'm back to the Debt Scheduler, where I've fixed another parser problem in the new functions that I added. I'd ask "Why doesn't anyone test these things?", except that no one has started testing this bit of functionality yet and I'm still unit testing as I clean up around the edges of the feature.

The good news is that it mostly works. :)
Tags: musings, work

  • Happy Birthday, Gretchen!

    And here it is, Gretchen's birthday again. Most of the festivities were last night, due to K's being in the school play tonight, so we had a good…


    I am in a maze of twisting JARs, all alike, except that some work and some don't.

  • Putting Things To Bed

    I think I managed to put a lot of things to bed today at work, which means that I should be able to go work on something else. Except for the…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded