From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "ZHUO Qingliang (KDr2)" via General Guile related discussions Newsgroups: gmane.lisp.guile.user Subject: How does GC know what SCM objects are on the stack? Date: Wed, 29 Jan 2020 06:34:15 +0000 (UTC) Message-ID: <660410322.617602.1580279655137@mail.yahoo.com> References: <660410322.617602.1580279655137.ref@mail.yahoo.com> Reply-To: "ZHUO Qingliang (KDr2)" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="118799"; mail-complaints-to="usenet@ciao.gmane.io" To: Guile User Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Jan 29 07:34:35 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iwgvq-000Us2-LP for guile-user@m.gmane-mx.org; Wed, 29 Jan 2020 07:34:34 +0100 Original-Received: from localhost ([::1]:41860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwgvp-0005Lx-Nz for guile-user@m.gmane-mx.org; Wed, 29 Jan 2020 01:34:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39629) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwgvg-0005Ln-BU for guile-user@gnu.org; Wed, 29 Jan 2020 01:34:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwgvf-0002NW-5o for guile-user@gnu.org; Wed, 29 Jan 2020 01:34:23 -0500 Original-Received: from sonic317-28.consmr.mail.bf2.yahoo.com ([74.6.129.83]:42811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwgvf-0002MB-1L for guile-user@gnu.org; Wed, 29 Jan 2020 01:34:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1580279662; bh=GnfjoqfdmINOXiRNzJGdTh++RCupmzCk4yYoKRydSTw=; h=Date:From:To:Subject:References:From:Subject; b=CO8I/6M72IgmIlwvNxZRJSXwYoo6rZS+jSUk2fmHBycq7qR47UFJiHjvaGO8B1GkM61QRfekf/tfPutG/Y8HrIY63hTEelT49CVA8yB+LTgze9I9GYwHboJshkhXcBMVp5eNwfPLnvTGWGa13Z4W3VVDuG/HalVGWK36dZIDhhY/ryjKE45BWUfqucTqedzNw0Hx5ALdzvulcqBFM5o8bnGlI7rJs+OT/k0Ic7VdnPrb3x5RffqsQ9YB72bnplxrpIelxyRyTkrUAMbcps04RtZPgyjVEXR65KLLBP4x/r5lxKXW03DonHCGH8mMEKsCn2xJYlf7Fg+9tetjTX7XmQ== X-YMail-OSG: b_j8kxQVM1mgCrDtC1POsyni5MvCbXBRcWQLRfEiCBgiF6lqOU0LL.M0ckoww8f VSj3T8f1EPWkJD6Hr0xWa0Wrlgu4RxZhh_jpyLtrrnvNNuv8K_JqNHGo0Io.KYIKEU18MIONlTnP NzV07npKmuBaGQm3YcDFWqIr54qUR_2JSdvX9eQiIzOPMclK2qtoP8mOMa_6tc.m7M29sx411OQC HpV6oGbcPqNijck48Ak3.mF61N2S.7F3vROqEEjB4tppOIBt3R6lQSWJLcOGeWSGrSIpS.I_I8o2 V9UaY4X5BwcivYijqm1dUMdRqOcEEBkfe8netpAcyqu93gmpUmXF.Z0ZFv4bZCUt_JuWuhcYUpcX tuQtW2CW1WcLnAHr9zogsdpGy5DXGnyKL.ZwWZ6q9Ztu9jySxBxz7JxfWLPBq8fzvq7JBKobW1yj JO1VR8G1VDr1Up.Gqu.RoSK4mYxbhKmJWTIIBgMa.L3_H74cNk5UaoYLlqbqGhfsyf.tDahLfQ03 upFSqYMnm4b0LtI6yekMD.Lk.NdPC9O5Suqb6le.R38q92Prm5Zaf3RiDYwR6gJhPkU_jy.W.vVJ nUdODJXLOoc9WHftxMM73l_e7DviN8OCfAdg3DJYh.DuR4CsrVLshMeZdhCcfyy4u7DedWw9TKpB _heknUFfYyiCBEMcYJwAACvCS5TrdI2UepPFZjmAolBKzy8fwfraPz.uhgxpG2RxnQB12_A6S85x KQRJR63W5nW0.aYU3Cfqf0AXRRhuKcie1te5abfseXuIwiZ18YQ7QGn4MrgVFjR99PS.6xW0Ip5M av0VO1.KeI0dE4ZqFblT.hGTz0wo2gtubrJu7z_fR9 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Wed, 29 Jan 2020 06:34:22 +0000 X-Mailer: WebService/1.1.15116 YahooMailIosMobile Yahoo%20Mail/48275 CFNetwork/1121.2.2 Darwin/19.2.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 74.6.129.83 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16114 Archived-At: I just read the docs about GC, if I understand it correctly, in a c program= ,=C2=A0all static variables, global variable, and local variables that hold= SCM objects are registered to GC protection automatically.=C2=A0 I want to know how does the GC make=C2=A0this, could anyone give me a clue? Many thanks.