Rename process_simple_wait to process_wait

Adding "simple" in the function name brings no benefit.
This commit is contained in:
Romain Vimont
2021-01-03 16:40:34 +01:00
parent cc6f5020d8
commit 821c175730
6 changed files with 7 additions and 7 deletions

View File

@@ -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;
}