Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
4391be58
Commit
4391be58
authored
Jul 13, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of the boot_done request.
parent
9253e0e3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
64 deletions
+1
-64
process.c
dlls/kernel/process.c
+0
-9
server_protocol.h
include/wine/server_protocol.h
+1
-16
protocol.def
server/protocol.def
+0
-6
request.h
server/request.h
+0
-2
thread.c
server/thread.c
+0
-23
trace.c
server/trace.c
+0
-8
No files found.
dlls/kernel/process.c
View file @
4391be58
...
...
@@ -47,7 +47,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
process
);
WINE_DECLARE_DEBUG_CHANNEL
(
file
);
WINE_DECLARE_DEBUG_CHANNEL
(
server
);
WINE_DECLARE_DEBUG_CHANNEL
(
relay
);
typedef
struct
...
...
@@ -1004,14 +1003,6 @@ static BOOL process_init(void)
/* convert old configuration to new format */
convert_old_config
();
/* global boot finished, the rest is process-local */
SERVER_START_REQ
(
boot_done
)
{
req
->
debug_level
=
TRACE_ON
(
server
);
wine_server_call
(
req
);
}
SERVER_END_REQ
;
set_registry_environment
();
}
...
...
include/wine/server_protocol.h
View file @
4391be58
...
...
@@ -237,18 +237,6 @@ struct new_thread_reply
struct
boot_done_request
{
struct
request_header
__header
;
int
debug_level
;
};
struct
boot_done_reply
{
struct
reply_header
__header
;
};
struct
init_process_request
{
struct
request_header
__header
;
...
...
@@ -3566,7 +3554,6 @@ enum request
REQ_new_process
,
REQ_get_new_process_info
,
REQ_new_thread
,
REQ_boot_done
,
REQ_init_process
,
REQ_get_startup_info
,
REQ_init_process_done
,
...
...
@@ -3777,7 +3764,6 @@ union generic_request
struct
new_process_request
new_process_request
;
struct
get_new_process_info_request
get_new_process_info_request
;
struct
new_thread_request
new_thread_request
;
struct
boot_done_request
boot_done_request
;
struct
init_process_request
init_process_request
;
struct
get_startup_info_request
get_startup_info_request
;
struct
init_process_done_request
init_process_done_request
;
...
...
@@ -3986,7 +3972,6 @@ union generic_reply
struct
new_process_reply
new_process_reply
;
struct
get_new_process_info_reply
get_new_process_info_reply
;
struct
new_thread_reply
new_thread_reply
;
struct
boot_done_reply
boot_done_reply
;
struct
init_process_reply
init_process_reply
;
struct
get_startup_info_reply
get_startup_info_reply
;
struct
init_process_done_reply
init_process_done_reply
;
...
...
@@ -4189,6 +4174,6 @@ union generic_reply
struct
set_mailslot_info_reply
set_mailslot_info_reply
;
};
#define SERVER_PROTOCOL_VERSION 18
4
#define SERVER_PROTOCOL_VERSION 18
5
#endif
/* __WINE_WINE_SERVER_PROTOCOL_H */
server/protocol.def
View file @
4391be58
...
...
@@ -237,12 +237,6 @@ struct security_descriptor
@END
/* Signal that we are finished booting on the client side */
@REQ(boot_done)
int debug_level; /* new debug level */
@END
/* Initialize a process; called from the new process context */
@REQ(init_process)
@REPLY
...
...
server/request.h
View file @
4391be58
...
...
@@ -106,7 +106,6 @@ inline static void set_reply_data_ptr( void *data, size_t size )
DECL_HANDLER
(
new_process
);
DECL_HANDLER
(
get_new_process_info
);
DECL_HANDLER
(
new_thread
);
DECL_HANDLER
(
boot_done
);
DECL_HANDLER
(
init_process
);
DECL_HANDLER
(
get_startup_info
);
DECL_HANDLER
(
init_process_done
);
...
...
@@ -316,7 +315,6 @@ static const req_handler req_handlers[REQ_NB_REQUESTS] =
(
req_handler
)
req_new_process
,
(
req_handler
)
req_get_new_process_info
,
(
req_handler
)
req_new_thread
,
(
req_handler
)
req_boot_done
,
(
req_handler
)
req_init_process
,
(
req_handler
)
req_get_startup_info
,
(
req_handler
)
req_init_process_done
,
...
...
server/thread.c
View file @
4391be58
...
...
@@ -109,7 +109,6 @@ static const struct fd_ops thread_fd_ops =
};
static
struct
list
thread_list
=
LIST_INIT
(
thread_list
);
static
struct
thread
*
booting_thread
;
/* initialize the structure for a newly allocated thread */
inline
static
void
init_thread_structure
(
struct
thread
*
thread
)
...
...
@@ -169,12 +168,6 @@ struct thread *create_thread( int fd, struct process *process )
thread
->
desktop
=
process
->
desktop
;
if
(
!
current
)
current
=
thread
;
if
(
!
booting_thread
)
/* first thread ever */
{
booting_thread
=
thread
;
lock_master_socket
(
1
);
}
list_add_head
(
&
thread_list
,
&
thread
->
entry
);
if
(
!
(
thread
->
id
=
alloc_ptid
(
thread
)))
...
...
@@ -237,12 +230,6 @@ static void cleanup_thread( struct thread *thread )
thread
->
reply_fd
=
NULL
;
thread
->
wait_fd
=
NULL
;
thread
->
desktop
=
0
;
if
(
thread
==
booting_thread
)
/* killing booting thread */
{
booting_thread
=
NULL
;
lock_master_socket
(
0
);
}
}
/* destroy a thread when its refcount is 0 */
...
...
@@ -817,16 +804,6 @@ struct token *thread_get_impersonation_token( struct thread *thread )
return
thread
->
process
->
token
;
}
/* signal that we are finished booting on the client side */
DECL_HANDLER
(
boot_done
)
{
if
(
current
==
booting_thread
)
{
booting_thread
=
(
struct
thread
*
)
~
0UL
;
/* make sure it doesn't match other threads */
lock_master_socket
(
0
);
/* allow other clients now */
}
}
/* create a new thread */
DECL_HANDLER
(
new_thread
)
{
...
...
server/trace.c
View file @
4391be58
...
...
@@ -606,11 +606,6 @@ static void dump_new_thread_reply( const struct new_thread_reply *req )
fprintf
(
stderr
,
" handle=%p"
,
req
->
handle
);
}
static
void
dump_boot_done_request
(
const
struct
boot_done_request
*
req
)
{
fprintf
(
stderr
,
" debug_level=%d"
,
req
->
debug_level
);
}
static
void
dump_init_process_request
(
const
struct
init_process_request
*
req
)
{
}
...
...
@@ -3071,7 +3066,6 @@ static const dump_func req_dumpers[REQ_NB_REQUESTS] = {
(
dump_func
)
dump_new_process_request
,
(
dump_func
)
dump_get_new_process_info_request
,
(
dump_func
)
dump_new_thread_request
,
(
dump_func
)
dump_boot_done_request
,
(
dump_func
)
dump_init_process_request
,
(
dump_func
)
dump_get_startup_info_request
,
(
dump_func
)
dump_init_process_done_request
,
...
...
@@ -3278,7 +3272,6 @@ static const dump_func reply_dumpers[REQ_NB_REQUESTS] = {
(
dump_func
)
dump_new_process_reply
,
(
dump_func
)
dump_get_new_process_info_reply
,
(
dump_func
)
dump_new_thread_reply
,
(
dump_func
)
0
,
(
dump_func
)
dump_init_process_reply
,
(
dump_func
)
dump_get_startup_info_reply
,
(
dump_func
)
0
,
...
...
@@ -3485,7 +3478,6 @@ static const char * const req_names[REQ_NB_REQUESTS] = {
"new_process"
,
"get_new_process_info"
,
"new_thread"
,
"boot_done"
,
"init_process"
,
"get_startup_info"
,
"init_process_done"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment