From 291877b3a9a7155f4530b0e639707eea135d7a2c Mon Sep 17 00:00:00 2001 From: ruanshudong Date: Thu, 18 Jan 2024 14:16:17 +0800 Subject: [PATCH] AdminF.tars add getpid --- servant/AdminF.tars | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/servant/AdminF.tars b/servant/AdminF.tars index 56510bb..c3ee2a6 100644 --- a/servant/AdminF.tars +++ b/servant/AdminF.tars @@ -27,6 +27,11 @@ module tars * 通知服务 */ string notify(string command); + + /** + * 获取服务的pid + */ + long getPid(); }; };