Re: kernel32: Remove server-call from ExitThread()
28 Feb
2007
28 Feb
'07
10:53 p.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.
6862
Age (days ago)
6862
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov