s/registerProcess/adoptProcessID/g

This commit is contained in:
Benjamin Schaaf 2019-06-04 10:13:00 +10:00
parent 5f5a831444
commit 68dd4baa44

View file

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