From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Chris Vine Newsgroups: gmane.lisp.guile.user Subject: Re: Question about an error with ports Date: Fri, 11 Mar 2022 18:13:17 +0000 Message-ID: <20220311181317.eddaee41c7293abb432c8321@gmail.com> References: <3f938fe1-9af4-9076-8d50-d1f7b2ddda36@posteo.de> <87ilslc0gn.fsf@laura> <87fsnpbcbp.fsf@laura> <20220311120500.ad94ea6ad79068dc1f8ff85d@gmail.com> <87czisbkng.fsf@laura> <20220311172650.aeab7bf504b38992196e0141@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18174"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Mar 11 19:13:49 2022 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 1nSjlr-0004X3-JU for guile-user@m.gmane-mx.org; Fri, 11 Mar 2022 19:13:47 +0100 Original-Received: from localhost ([::1]:44386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSjlq-0003I7-4e for guile-user@m.gmane-mx.org; Fri, 11 Mar 2022 13:13:46 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSjlU-0003E7-TN for guile-user@gnu.org; Fri, 11 Mar 2022 13:13:25 -0500 Original-Received: from [2a00:1450:4864:20::430] (port=39468 helo=mail-wr1-x430.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSjlT-00057s-ES for guile-user@gnu.org; Fri, 11 Mar 2022 13:13:24 -0500 Original-Received: by mail-wr1-x430.google.com with SMTP id h15so14141585wrc.6 for ; Fri, 11 Mar 2022 10:13:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=E1RwepxLRblq1nf9BYhKD5n5FCgDvPGS5AQr0AmS2dw=; b=kWllxBJGH5ojryGznEsgnEw1t4cXwfIgnKHdawPsImV4YtWhHjTT9Vx2DADPycoWHQ 3Ay7NMrIPvVh89DdbmwJZEXvfBMQI34waLQvT/5sBfunGJIVzAmo+IxTuwvG7iPlpZT1 vyUVapwaXXl+m9hhqORSTcB+SO1hah0rPAgmMotWMsWdtdZXCnrf/hmo6lZ/wEsBszTZ 1AX3QFN69rki5N2WimbCeOrLzVaCgo7AU0WuAlrn44qXum09kXbVjCTLe+RVXRzqwSfo td0I/zWfU4u4tpaDzXGPlwHSBEIgGCTcQzQaKABDuILLR3na2TXskH2Mfz8oysP93ed5 n31A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E1RwepxLRblq1nf9BYhKD5n5FCgDvPGS5AQr0AmS2dw=; b=q6BBc4+RT2Gl12sji8tYFxNE9+5ODq3x5EqbhjB5+RlvJoKpLC+xwh2dy4vETBEPAH LLvRSiBylQwpy4rx9jiH0wD0K5us9Cd50nlxHCsfksJqaAf+nzMZkdWxStdqbrmqikYw ddXxx8ichMo6or2+35T6RmKPXok7OwIgPLee6pZ00p5PMJb1klBTryU2o9tbDVonebEU hH4jaF4dvCY9rLXVBQuOed36LTq5s52yoKfINJONKRz0n5dZ3E/2+ABPIyWmBA1H/hf/ QT4IRfS7jKjRDrdc6ObzCF1HbPUdZ0QmjxsqKP4pTUnorJrv9o4HnUvz+yXk30l+WDtE oqHA== X-Gm-Message-State: AOAM532GxUTVsMTkUfXJcl00sRBFQf0XAcN+2C8NMMrN3b6a7zxNpN8z NB7MZKaEbHlfUfRlt8wqoeC1VwTJnKA= X-Google-Smtp-Source: ABdhPJzGVMdq0exFJJbrWLvO+qGK3pe2eQeywx1yDtxHmJMSk5Jhbs/x1WRm26PmSkYa93nVbIxUwQ== X-Received: by 2002:a05:6000:188b:b0:1f1:ed77:2f29 with SMTP id a11-20020a056000188b00b001f1ed772f29mr8062912wri.413.1647022401716; Fri, 11 Mar 2022 10:13:21 -0800 (PST) Original-Received: from dell.homenet (253.253.9.51.dyn.plus.net. [51.9.253.253]) by smtp.gmail.com with ESMTPSA id q23-20020a1cf317000000b003815206a638sm11156991wmq.15.2022.03.11.10.13.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 10:13:21 -0800 (PST) Original-Received: from dell.homenet (localhost [127.0.0.1]) by dell.homenet (Postfix) with SMTP id 17690427963 for ; Fri, 11 Mar 2022 18:13:17 +0000 (GMT) In-Reply-To: <20220311172650.aeab7bf504b38992196e0141@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-unknown-linux-gnu) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::430 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=vine24683579@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 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:18189 Archived-At: On Fri, 11 Mar 2022 17:26:50 +0000 Chris Vine wrote: > Notable procedures which it appears remain as non-suspendable are > get-bytevector-all, get-string-n, read, write and display, but to be > sure about the first two of those I would also need to read the source > again. A few years ago I had some test code to test which procedures > were suspendable and I will also have to see if I can find it again. I have resurrected my old test code and I can confirm that get-bytevector-n, get-bytevector-n!, get-bytevector-some and get-bytevector-some! are now suspension safe in guile-2.2.6 and guile-3.0.8, but get-bytevector-all, get-string-n and get-string-n! remain unsafe. Interestingly the read procedure remains unsafe in guile-2.2.6, but seems to be safe in guile-3.0.8 even though I cannot see what in the code has changed. I have yet to re-equip my tests to test the write and display procedures, or to see what effect this has on http-get, http-put and the like. Chris