Handle suspend/resume_thread requests in phase STARTING correctly.
Set initial suspend count for threads created with CREATE_SUSPENDED.
Set 'inheritable' flag for process/thread handles.
diff --git a/server/trace.c b/server/trace.c
index 8a35b81..a091d8c 100644
--- a/server/trace.c
+++ b/server/trace.c
@@ -8,7 +8,10 @@
static int dump_new_thread_request( struct new_thread_request *req, int len )
{
- fprintf( stderr, " pid=%p", req->pid );
+ fprintf( stderr, " pid=%p,", req->pid );
+ fprintf( stderr, " suspend=%d,", req->suspend );
+ fprintf( stderr, " tinherit=%d,", req->tinherit );
+ fprintf( stderr, " pinherit=%d", req->pinherit );
return (int)sizeof(*req);
}