From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Diogo F. S. Ramos" Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Add observation that ports are not thread-safe Date: Tue, 25 Mar 2014 14:10:55 -0300 Message-ID: <874n2mb3vk.fsf@nebulosa.milkyway> References: <1395746068-20604-1-git-send-email-dfsr@riseup.net> <87lhvys6ug.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395767491 31378 80.91.229.3 (25 Mar 2014 17:11:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2014 17:11:31 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 25 18:11:40 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WSUsz-00084y-J8 for guile-devel@m.gmane.org; Tue, 25 Mar 2014 18:11:37 +0100 Original-Received: from localhost ([::1]:42972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSUsz-0004Pn-2m for guile-devel@m.gmane.org; Tue, 25 Mar 2014 13:11:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSUso-0004OQ-Uy for guile-devel@gnu.org; Tue, 25 Mar 2014 13:11:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSUsg-0006uJ-8Y for guile-devel@gnu.org; Tue, 25 Mar 2014 13:11:26 -0400 Original-Received: from mx1.riseup.net ([198.252.153.129]:41849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSUsg-0006u0-0y for guile-devel@gnu.org; Tue, 25 Mar 2014 13:11:18 -0400 Original-Received: from fruiteater.riseup.net (fruiteater-pn.riseup.net [10.0.1.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 2BB004EF0A; Tue, 25 Mar 2014 10:11:17 -0700 (PDT) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: dfsr@fruiteater.riseup.net) with ESMTPSA id 3A515F34 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Virus-Scanned: clamav-milter 0.98.1 at mx1 X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 198.252.153.129 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17008 Archived-At: > On Tue 25 Mar 2014 12:14, "Diogo F. S. Ramos" writes: > >> It's not obvious that ports are not thread-safe and trying to have >> multiple threads writing to one returns errors that are not >> recognizable as been caused by this lack of thread-safeness. > > This is a bug, and it is fixed in master. FWIW. oic This is an interesting issue between master and stable. Browsing through the history, I see master's commit 79657fd3ec264ecd533a62d349c2cf1a2be2df14, which I assume fixes this bug, but this fix is not in the last stable version, released just some days ago. IMO the user should be informed about this limitation in stable, even if it's going to go away.