From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 683441F44D for ; Fri, 26 Apr 2024 17:52:11 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=bvdXCKRg; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=S+VzCQio; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 3DBAF84488; Fri, 26 Apr 2024 17:51:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1714153917; bh=jdnWbPzEidLYWs94FgcJuips3amvLPk3vNLloo1mHfU=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=bvdXCKRgrAeWcrZ3waZf+jQK+Zvz2S/B9Ok3WXgGjVh6+ewjKDQ+BJsG10TfufSwv ahGZZl/jh3stHCZ71zL/GuuW4luZCCWOmuH1kqa9QazG8Us6kvepXbcKNEbmmJB0MR L2aB/6Z2GRxEHVOFwvTSjYOGVGVlAZT+AseYMvvg= Received: from s.wfbtzhsw.outbound-mail.sendgrid.net (s.wfbtzhsw.outbound-mail.sendgrid.net [159.183.224.105]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 95EF284477 for ; Fri, 26 Apr 2024 17:51:53 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=S+VzCQio; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=O08+67wkxLFXFDYRSadaW2BwaN2S7VnKVSVsnPGjLlk=; b=S+VzCQiob3DHlfvVw4PWN+/XynOuvrU/70t7ZX0uOySthNU87/GjsPrg78KkvIp0+ufY wjPoNXRtbNJT545vLJuTaIyTtjJNR/SMZXMHiZn9JjfIao9dhk0iIODKTKyNv6UISDLghz 0ixwK648/9gbQBZwmO5ej0TAXsx7YLNzDeZtbOQlv9u6CM/XppBr20yHW1Qo+vhwP1NBa0 i+fK+rbb6vlPKhYvvcdVAWd4Im349xmxNQ+Pq/0VUb2THxG8erUJv6asectzN7fpIghsSu L5NQW2RnO/NRYcdW/iyV4c3NvbAeKXal1Zq2ux1UcmAmztShNB8E/XAvHayU6ErQ== Received: by recvd-bb7996b79-bqq4q with SMTP id recvd-bb7996b79-bqq4q-1-662BE9B8-13 2024-04-26 17:51:52.62207946 +0000 UTC m=+1194676.314957858 Received: from herokuapp.com (unknown) by geopod-ismtpd-24 (SG) with ESMTP id EEaIuuQQSze6ZT0IjCz63w for ; Fri, 26 Apr 2024 17:51:52.596 +0000 (UTC) Date: Fri, 26 Apr 2024 17:51:52 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Misc X-Redmine-Issue-Id: 20272 X-Redmine-Issue-Author: forthoney X-Redmine-Issue-Priority: Normal X-Redmine-Sender: luke-gru X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 94326 X-SG-EID: =?us-ascii?Q?u001=2Eu2jV1cZCX3JeC9XuCMpKrPL8QYex4qqdacL0+MyIJYZ8T98+Yamf0oq9z?= =?us-ascii?Q?aSwYa9OgKS1yrZArj33QXc1KJqA8PopG+kgVPq9?= =?us-ascii?Q?cjRbGB5G3hdCPVzrBxH+wtXVW99Od2pZwOq8Fdb?= =?us-ascii?Q?xMzFpAXYCmtBWTfXytHhZETr+EMdj0E5XS03aUL?= =?us-ascii?Q?z9jSG+t4+xo796tIEnkAqi08DApMeXYfO3IX2Wi?= =?us-ascii?Q?2TCJLgM6bOgw9g4IBboJ9rBQ8nX+zsTKDRHsmYJ?= =?us-ascii?Q?ROq3dA6C2CZx8G6v0x7OKp5KRA=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: ZSWGV3TIY3KQN6DEGIT5QPKHXBAXFXAO X-Message-ID-Hash: ZSWGV3TIY3KQN6DEGIT5QPKHXBAXFXAO X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:117730] [Ruby master Misc#20272] Ambiguity around Ractor message sending FIFO semantics List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "luke-gru (Luke Gruber) via ruby-core" Cc: "luke-gru (Luke Gruber)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20272 has been updated by luke-gru (Luke Gruber). The messages in that case would be guaranteed to be received in order (first "hello" then "world"). If you have 2 different ractors or 2 different threads both receiving messages from the same ractor, then there is no guarantee of the order. ---------------------------------------- Misc #20272: Ambiguity around Ractor message sending FIFO semantics https://bugs.ruby-lang.org/issues/20272#change-108137 * Author: forthoney (Seong-Heon Jung) * Status: Open ---------------------------------------- The docs should explicitly state the semantics/properties of Ractor message, especially when it comes to FIFO. For example, assume I have two Ractors, Ractor A and Ractor B. Ractor A sends two messages `"hello"` and `"world"` in this order to Ractor B. If I call `Ractor.receive` on Ractor B, am I guaranteed to see `"hello"` and then `"world"` or is it possible the messages are delivered out of order? -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/