mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
- Set CurrentThread->u1.ExitTime to exit time in PsTerminateCurrentThread. Patch by Alex Ionescu.
svn path=/trunk/; revision=9495
This commit is contained in:
parent
d35144407f
commit
0fc5792047
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: kill.c,v 1.71 2004/04/28 23:46:26 tamlin Exp $
|
||||
/* $Id: kill.c,v 1.72 2004/05/25 22:03:48 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -137,6 +137,7 @@ PsTerminateCurrentThread(NTSTATUS ExitStatus)
|
|||
DPRINT("terminating %x\n",CurrentThread);
|
||||
|
||||
CurrentThread->ExitStatus = ExitStatus;
|
||||
KeQuerySystemTime((PLARGE_INTEGER)&CurrentThread->u1.ExitTime);
|
||||
KeCancelTimer(&CurrentThread->Tcb.Timer);
|
||||
|
||||
/* Remove the thread from the thread list of its process */
|
||||
|
|
Loading…
Reference in a new issue