billroper: (Default)
[personal profile] billroper
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. :)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

billroper: (Default)
billroper

May 2026

S M T W T F S
      1 2
3456789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 4th, 2026 05:48 pm
Powered by Dreamwidth Studios