From 68dd4baa44e7759d4d271e54462fdff42ed0caff Mon Sep 17 00:00:00 2001 From: Benjamin Schaaf Date: Tue, 4 Jun 2019 10:13:00 +1000 Subject: [PATCH] s/registerProcess/adoptProcessID/g --- source/vibe/core/process.d | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/vibe/core/process.d b/source/vibe/core/process.d index 370f707..aa3b20b 100644 --- a/source/vibe/core/process.d +++ b/source/vibe/core/process.d @@ -30,15 +30,15 @@ import vibe.core.internal.release; started from anywhere including external libraries or std.process. Params: - pid = A Pid or OS process handle + pid = A Pid or OS process id */ -Process registerProcess(Pid pid) +Process adoptProcessID(Pid pid) @trusted { - return registerProcess(pid.processID); + return adoptProcessID(pid.processID); } /// ditto -Process registerProcess(int pid) +Process adoptProcessID(int pid) { return Process(eventDriver.processes.adopt(pid)); }