Thanks for the help.
fourfathom,
I don't know what R16 was for. I built the circuit first and then made the schematic from it (I often do this with simple circuits).
When I went to upload it, I asked myself the same question, but I didn't have time to pull it out and test it, so I left it in there.
Also, I was too lazy to add the flyback diode to the relay (or the relay for that matter), which I'm glad I didn't because I've never heard of an RC Snubber, so I will have to look into that.
Mechatrommer,
That's interesting. I didn't realize I built a voltage divider. That is probably the sort of thing someone with experience sees immediately...
Now that you mention it though, like R16, I see no use for it.
I also noticed, now that you pointed the one out, the voltage divider at the base of Q8. That one I am not worried about through.
I wanted to test the race condition with and without the capacitor.
So, I built the circuit shown in race-latching.png.
As the name implies, I have it configured so if the relay is energized, it latches on so it is obvious if Q9 energized before Q8.
First I tried it without the capacitor by setting VCC to 17.6v DC, then manually energized the circuit about 200 times. I also tried energizing the circuit about 200 times with R12 and R13 at 10k.
So, in over 400 attempts, the relay never latched.
That seems a bit odd to me. Is that just bad luck, or is this circuit just not as susceptible to a race condition as I thought?
Are there other commonly used techniques(?) for dealing with potential race conditions?
Is there a better way to design this circuit so there is no way for there to be a race condition?
Thanks again for entertaining my ridiculous questions.
P.S.
I also tried this circuit without the latch and without the capacitor a couple hundred times with R12 and R13 at 100k and VCC set to 12v DC so I could make sure the circuit didn't have any unexpected issues.