server: Remove the no longer used pid/tid fields in the init_thread request.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7404ef3ef5
commit
cc63b76833
|
@ -952,10 +952,8 @@ struct init_thread_request
|
|||
struct init_thread_reply
|
||||
{
|
||||
struct reply_header __header;
|
||||
process_id_t pid;
|
||||
thread_id_t tid;
|
||||
int suspend;
|
||||
char __pad_20[4];
|
||||
char __pad_12[4];
|
||||
};
|
||||
|
||||
|
||||
|
@ -6236,7 +6234,7 @@ union generic_reply
|
|||
|
||||
/* ### protocol_version begin ### */
|
||||
|
||||
#define SERVER_PROTOCOL_VERSION 718
|
||||
#define SERVER_PROTOCOL_VERSION 719
|
||||
|
||||
/* ### protocol_version end ### */
|
||||
|
||||
|
|
|
@ -924,8 +924,6 @@ typedef struct
|
|||
client_ptr_t teb; /* TEB of new thread (in thread address space) */
|
||||
client_ptr_t entry; /* entry point (in thread address space) */
|
||||
@REPLY
|
||||
process_id_t pid; /* process id of the new thread's process */
|
||||
thread_id_t tid; /* thread id of the new thread */
|
||||
int suspend; /* is thread suspended? */
|
||||
@END
|
||||
|
||||
|
|
|
@ -758,10 +758,8 @@ C_ASSERT( FIELD_OFFSET(struct init_thread_request, wait_fd) == 20 );
|
|||
C_ASSERT( FIELD_OFFSET(struct init_thread_request, teb) == 24 );
|
||||
C_ASSERT( FIELD_OFFSET(struct init_thread_request, entry) == 32 );
|
||||
C_ASSERT( sizeof(struct init_thread_request) == 40 );
|
||||
C_ASSERT( FIELD_OFFSET(struct init_thread_reply, pid) == 8 );
|
||||
C_ASSERT( FIELD_OFFSET(struct init_thread_reply, tid) == 12 );
|
||||
C_ASSERT( FIELD_OFFSET(struct init_thread_reply, suspend) == 16 );
|
||||
C_ASSERT( sizeof(struct init_thread_reply) == 24 );
|
||||
C_ASSERT( FIELD_OFFSET(struct init_thread_reply, suspend) == 8 );
|
||||
C_ASSERT( sizeof(struct init_thread_reply) == 16 );
|
||||
C_ASSERT( FIELD_OFFSET(struct terminate_process_request, handle) == 12 );
|
||||
C_ASSERT( FIELD_OFFSET(struct terminate_process_request, exit_code) == 16 );
|
||||
C_ASSERT( sizeof(struct terminate_process_request) == 24 );
|
||||
|
|
|
@ -1457,8 +1457,6 @@ DECL_HANDLER(init_thread)
|
|||
generate_debug_event( current, DbgCreateThreadStateChange, &req->entry );
|
||||
set_thread_affinity( current, current->affinity );
|
||||
|
||||
reply->pid = get_process_id( current->process );
|
||||
reply->tid = get_thread_id( current );
|
||||
reply->suspend = (current->suspend || current->process->suspend || current->context != NULL);
|
||||
}
|
||||
|
||||
|
|
|
@ -1545,9 +1545,7 @@ static void dump_init_thread_request( const struct init_thread_request *req )
|
|||
|
||||
static void dump_init_thread_reply( const struct init_thread_reply *req )
|
||||
{
|
||||
fprintf( stderr, " pid=%04x", req->pid );
|
||||
fprintf( stderr, ", tid=%04x", req->tid );
|
||||
fprintf( stderr, ", suspend=%d", req->suspend );
|
||||
fprintf( stderr, " suspend=%d", req->suspend );
|
||||
}
|
||||
|
||||
static void dump_terminate_process_request( const struct terminate_process_request *req )
|
||||
|
|
Loading…
Reference in New Issue