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

  • Let's Try That Again

    For a variety of reasons, today ended up being moderately annoying. This is despite having made good progress on a number of fronts, so maybe I just…

  • Gentlemen, Be Seated

    I appear to collect office chairs. A few years ago, I bought a new chair for the studio in the after-Christmas sales. It is a big and tall Sealy…

  • Scheduling

    We got the heads up yesterday about the upcoming schedule for our kitchen renovation. The cabinet installers will be back on Saturday to finish up…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded