http://research.microsoft.com/~mbj/S...ke_Thread.html