Killing each other

SQL reliability requires CLR to fail gracefully in asynchronous exception case, like ThreadAbortException, meaning, CLR should not panic, and it should not leak any resource.

ThreadAbortException can be raised by calling Thread.Abort() on the specific thread.

On the test plan review, one dev asks, “what if two threads call Thread.Abort() on each other?”

Everyone laughed.

I don't know the answer. But it will be interesting to try it out when you have the chance to grab a whidbey beta bits.

Comments (2)

  1. Ferris Beuller says:

    Noooo, you will cause a rip in the fabric of space and time and we will end up walking around with our craniums up our rectums like Event Horizon the movie. Oh wait.

  2. A says:

    Reservoir Threads .. dum, de dum, dum de de deeeee…

Skip to main content