Austin English : server: Set process start time a bit later.

Alexandre Julliard julliard at winehq.org
Fri Dec 20 10:45:30 CST 2013


Module: wine
Branch: master
Commit: d506e59dabc985be0a24c47112102af409a25b39
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d506e59dabc985be0a24c47112102af409a25b39

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Dec 19 21:00:53 2013 -0800

server: Set process start time a bit later.

---

 server/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/process.c b/server/process.c
index 8622fec..4a73662 100644
--- a/server/process.c
+++ b/server/process.c
@@ -342,7 +342,6 @@ struct thread *create_process( int fd, struct thread *parent_thread, int inherit
     list_init( &process->dlls );
     list_init( &process->rawinput_devices );
 
-    process->start_time = current_time;
     process->end_time = 0;
     list_add_tail( &process_list, &process->entry );
 
@@ -1064,6 +1063,7 @@ DECL_HANDLER(init_process_done)
     list_add_head( &process->dlls, &dll->entry );
 
     process->ldt_copy = req->ldt_copy;
+    process->start_time = current_time;
 
     generate_startup_debug_events( process, req->entry );
     set_process_startup_state( process, STARTUP_DONE );




More information about the wine-cvs mailing list