summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessUNIX.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-09 14:10:55 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-09 14:10:55 (GMT)
commitfd466fe657da176e3fa46803a11dfcb662d7395d (patch)
treecbb7a2064d2621286950fe36272a3064716884c8 /Source/kwsys/ProcessUNIX.c
parentb19bc31277bb2e3dd75e78f64924be3955ea8c6d (diff)
parentcd4fef3041be85e1ec9139a91efa8a96f74707c5 (diff)
downloadCMake-fd466fe657da176e3fa46803a11dfcb662d7395d.zip
CMake-fd466fe657da176e3fa46803a11dfcb662d7395d.tar.gz
CMake-fd466fe657da176e3fa46803a11dfcb662d7395d.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2016-03-09 (36d8666f)
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r--Source/kwsys/ProcessUNIX.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index 7402955..b577982 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -3058,3 +3058,14 @@ static void kwsysProcessesSignalHandler(int signum
errno = old_errno;
}
+
+/*--------------------------------------------------------------------------*/
+void kwsysProcess_ResetStartTime(kwsysProcess* cp)
+{
+ if(!cp)
+ {
+ return;
+ }
+ /* Reset start time. */
+ cp->StartTime = kwsysProcessTimeGetCurrent();
+}