diff options
author | Brad King <brad.king@kitware.com> | 2016-03-09 14:10:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-03-09 14:10:55 (GMT) |
commit | fd466fe657da176e3fa46803a11dfcb662d7395d (patch) | |
tree | cbb7a2064d2621286950fe36272a3064716884c8 /Source/kwsys/ProcessUNIX.c | |
parent | b19bc31277bb2e3dd75e78f64924be3955ea8c6d (diff) | |
parent | cd4fef3041be85e1ec9139a91efa8a96f74707c5 (diff) | |
download | CMake-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.c | 11 |
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(); +} |