From: Hartmut Birr
I'm not sure if all of my problems from ctm are related to your changes. After the first problem I've do more testing with ctm. In the past I've used one console for buildung ros and another which runs ctm. I've build ros completly. Currently I've get a bugcheck (my first reported problem which is now fixed) in the teb allocation routines and now I'see that ctm eats up all available memory.
Still don't understand why this problem didn't show up before, but it should be fixed now. The user stack is now cleaned up when a thread is TerminateThread()ed too.
Ge van Geldorp.