summaryrefslogtreecommitdiffstats
path: root/ProcessWin32.c
diff options
context:
space:
mode:
Diffstat (limited to 'ProcessWin32.c')
-rw-r--r--ProcessWin32.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/ProcessWin32.c b/ProcessWin32.c
index a18ea27..2b93e69 100644
--- a/ProcessWin32.c
+++ b/ProcessWin32.c
@@ -3017,3 +3017,14 @@ static BOOL WINAPI kwsysCtrlHandler(DWORD dwCtrlType)
/* Continue on to default Ctrl handler (which calls ExitProcess). */
return FALSE;
}
+
+/*--------------------------------------------------------------------------*/
+void kwsysProcess_ResetStartTime(kwsysProcess* cp)
+{
+ if(!cp)
+ {
+ return;
+ }
+ /* Reset start time. */
+ cp->StartTime = kwsysProcessTimeGetCurrent();
+}