From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2HyoJWz1PmJfiQAAgWs5BA (envelope-from ) for ; Sat, 26 Mar 2022 12:13:48 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ryAeI2z1PmJ+cAAA9RJhRA (envelope-from ) for ; Sat, 26 Mar 2022 12:13:48 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 67D0D12E58 for ; Sat, 26 Mar 2022 12:13:48 +0100 (CET) Received: from localhost ([::1]:44712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY4Md-0001h7-Ka for larch@yhetil.org; Sat, 26 Mar 2022 07:13:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY4L8-0000fh-H2 for guix-devel@gnu.org; Sat, 26 Mar 2022 07:12:15 -0400 Received: from mail-m971.mail.163.com ([123.126.97.1]:26280) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY4L2-0000R6-TD; Sat, 26 Mar 2022 07:12:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=XKUgF 0h5hhPiqTCVKaEFtYoS3VY2zwgAUhZpMg4JmFs=; b=JeUaj5Yp2HF8yJeBV1DBp vybQceBoueAsioUS94k3TnNLKGbrrDwkLEgqEQsTZLIbaAa8N2VEkiY+Bq1DBSAW vcj7ToKr/b4gUmkip1H22K90WDUMTrQ5d129gL0tAiSI1cV8mq1zwKSzvLMfQKBv 770AS3pZ59fO5KdKJ60mGY= Received: from asus-laptop (unknown [112.95.108.56]) by smtp1 (Coremail) with SMTP id GdxpCgAnianw9D5i9GXJFA--.46400S2; Sat, 26 Mar 2022 19:11:45 +0800 (CST) References: <87ee2sfg9d.fsf@inria.fr> <20220326110627.dm3t7u2jtjxz5xf6@pelzflorian.localdomain> User-agent: mu4e 1.6.10; emacs 27.2 From: Zhu Zihao To: "pelzflorian (Florian Pelz)" Subject: Re: The Shepherd on Fibers Date: Sat, 26 Mar 2022 19:09:12 +0800 In-reply-to: <20220326110627.dm3t7u2jtjxz5xf6@pelzflorian.localdomain> Message-ID: <868rsxufwx.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-CM-TRANSID: GdxpCgAnianw9D5i9GXJFA--.46400S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUjEfODUUUU X-Originating-IP: [112.95.108.56] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBZhHPr1aD-r6F0gAAsV Received-SPF: pass client-ip=123.126.97.1; envelope-from=all_but_last@163.com; helo=mail-m971.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648293228; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XKUgF0h5hhPiqTCVKaEFtYoS3VY2zwgAUhZpMg4JmFs=; b=AdQCwWiCiYscYEIzGVU/H3MOn8/rP11ofgET72+ce6slsVbrPPEjBltZSC/QaDdSuSf41E YW9ePKQBKuqSPArc8lTqRb5hihPM8qgfbbTvGUeKNPbRlnc9KrMR+vUzQqSZ4yiqqdcmVa vgaf1f8P/+yLvge1lp10Fe0Gh+5eDZBXoHewcOjNdoqRyT1APxe3sE7UfFfpWBdfb3U+f6 Uiyibg9ducBZK7i+IKMaqr78QnGoVKJk9oqsiplIeZetQMhgrwP8kQnuZuP0bpdQQZAmBF kUw83r07Yu7saqN4JQPLzykTQOM7tGgryS/tq9hYt5Zu44GCHuXyqqphhrxj4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648293228; a=rsa-sha256; cv=none; b=j8VzY+P9I8dxdKLuqIS1o9ERu5P58M5B/RhnzDzXRS+SBL3QHYveR8x3qqHeHzN4CHXY0Q g21x5nCdtQxCU8fuS9jh97YY5z9sF1LlDz0WI/rJhz35bnjjOqq0KZBUCAAjOpq8fWEQ0w B/ybnf1mh72lIfTHZ1czAmqO/Hy1lKmtxDIcS6FdGE3FTrU6rIiopOGJQD+eVOzsZFkRa6 b0vryZCyHmpyjIl1hvfVv9Waxsv1MpuljZoomHsNpsZAbOl11WBiq+iReI9o2wK3fLBVBv iJEaC05EQCPPyqtmabHS3l10qxDqYQhdkXuVGYiopu0wkIts0qJ4voIseh/WZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=JeUaj5Yp; dmarc=pass (policy=none) header.from=163.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.48 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=JeUaj5Yp; dmarc=pass (policy=none) header.from=163.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 67D0D12E58 X-Spam-Score: -7.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: Aw45cv7aKXIU --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > So shepherd service authors still cannot write blocking code but need > to yield? IMO, service should not block service, if they have something important to do before running a program, why not fork first and do it in the child-process (maybe wrap the actual startup program in Guile script)? =2D-=20 Retrieve my PGP public key: gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQRefA5qkqvnKdl/GTlmOX+E92aT+QUCYj707hUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQZjl/hPdmk/kfdgD/dWkx0i5bc+9tZB/zxFxYyfoFbVaG SeVTkKLsC2tGPPIA/ixl4ya63JsfeZ03PzHsx+Fb5AYvY2FMncwrgIAHL94D =dRnp -----END PGP SIGNATURE----- --=-=-=--