• Rob Earhart's WebLog

    Applied Software Project Management

    • 0 Comments
    So, I recently read Applied Software Project Management, by Andrew Stellman and Jennifer Greene. I absolutely loved it; here's the review I wrote for Amazon......
  • Rob Earhart's WebLog

    Hypervisor

    • 0 Comments
    So, after my last post way-back-when, I got busy fixing bugs for a while. Then I decided I wanted to do something other than fix bugs, and switched over to the Hypervisor team. So for those who missed the announcement a few months ago: the hypervisor...
  • Rob Earhart's WebLog

    Threadpool

    • 2 Comments
    So I've checked in the new Longhorn threadpool. (Unmanaged). If you use the threadpool, I think you'll enjoy it; there are a number of API features which should make it very easy to write correct code which uses it, particularly in the area of cleanup...
  • Rob Earhart's WebLog

    Hungarian

    • 6 Comments
    (In this post, I demonstrate just how young I am; I'm sure this stuff's been hashed out many times over the years...) So, I like Hungarian notation. This puts me at odds with most of my colleagues, who intensely dislike it. The few times it's come up...
  • Rob Earhart's WebLog

    Childhood computers

    • 8 Comments
    So I was visiting my parents the other day. They've been going through old boxes of stuff, simplifying a little, and had stumbled across the first home computer we bought: a Commodore 128. This was the state of the art when I was in sixth grade, I think...
  • Rob Earhart's WebLog

    Yet another reason not to handle all SEH exceptions

    • 2 Comments
    ... you'll probably forget to call _resetstkoflw() in your exception handler when it's a stack overflow exception. This re-establishes the guard page, so that the next time the thread hits a stack overflow, it'll get another stack overflow exception;...
  • Rob Earhart's WebLog

    SEH stack walking

    • 1 Comments
    I noticed another fun thing about structured exception handling the other day; it's probably old news to the compiler team, but I thought it was interesting. Imagine you have code like this: DoSomething(); // This may raise an exception. try { *x = NULL;...
  • Rob Earhart's WebLog

    SEH Ordering

    • 2 Comments
    A number of devs don't quite understand the order of operations in structured exception handling. This leads to some interesting bugs... Take this snippet of pseudocode, for example: try { EnterCriticalSection(); try { DoSomething() RaiseException();...
Page 1 of 1 (8 items)