1 Mar
2007
1 Mar
'07
4:53 a.m.
"Felix Nawothnig" <flexo(a)holycrap.org> wrote:
- if (last) - { - LdrShutdownProcess(); - exit( code ); - } - else RtlExitUserThread( code ); + TerminateThread( GetCurrentThread(), code ); + exit(code); /* To avoid a compiler warning, never reached. */ }
New code now calls exit() unconditionally killing the whole process. If you follow the TerminateThread way you will notice that exit() is being already called on its time. -- Dmitry.