Rename process_simple_wait to process_wait
Adding "simple" in the function name brings no benefit.
This commit is contained in:
@@ -392,7 +392,7 @@ server_init(struct server *server) {
|
||||
static int
|
||||
run_wait_server(void *data) {
|
||||
struct server *server = data;
|
||||
process_simple_wait(server->process, NULL); // ignore exit code
|
||||
process_wait(server->process, NULL); // ignore exit code
|
||||
|
||||
mutex_lock(server->mutex);
|
||||
server->process_terminated = true;
|
||||
@@ -448,7 +448,7 @@ server_start(struct server *server, const char *serial,
|
||||
SDL_CreateThread(run_wait_server, "wait-server", server);
|
||||
if (!server->wait_server_thread) {
|
||||
process_terminate(server->process);
|
||||
process_simple_wait(server->process, NULL); // ignore exit code
|
||||
process_wait(server->process, NULL); // ignore exit code
|
||||
goto error2;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user