class Async::Container::Supervisor::Server

def do_restart(call)

@parameter signal [Symbol] The signal to send to the process group.

Restart the current process group, usually including the supervisor and any other processes.
def do_restart(call)
	signal = call[:signal] || :INT
	
	# We are going to terminate the progress group, including *this* process, so finish the current RPC before that:
	call.finish
	
	::Process.kill(signal, ::Process.ppid)
end