From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dskr Newsgroups: gmane.lisp.guile.user Subject: should accept be protected with fport_wait_for_input? Date: Mon, 3 Dec 2007 14:41:53 -0500 Message-ID: <533B98AE-8B03-4DE9-96F9-48B2FC77D6BA@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196710964 23913 80.91.229.12 (3 Dec 2007 19:42:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 19:42:44 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Dec 03 20:42:53 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IzHBl-0006e4-43 for guile-user@m.gmane.org; Mon, 03 Dec 2007 20:42:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzHBU-0003Ck-O2 for guile-user@m.gmane.org; Mon, 03 Dec 2007 14:42:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IzHBP-00039d-SY for guile-user@gnu.org; Mon, 03 Dec 2007 14:42:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IzHBO-00035M-9I for guile-user@gnu.org; Mon, 03 Dec 2007 14:42:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzHBN-000342-Tc for guile-user@gnu.org; Mon, 03 Dec 2007 14:42:21 -0500 Original-Received: from smtpoutm.mac.com ([17.148.16.81]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IzHBK-0006An-F8 for guile-user@gnu.org; Mon, 03 Dec 2007 14:42:18 -0500 Original-Received: from mac.com (asmtp007-s [10.150.69.70]) by smtpoutm.mac.com (Xserve/smtpout018/MantshX 4.0) with ESMTP id lB3JfuOd018371 for ; Mon, 3 Dec 2007 11:41:56 -0800 (PST) Original-Received: from [192.168.1.5] (exchange.wallassociates.com [68.167.27.146] (may be forged)) (authenticated bits=0) by mac.com (Xserve/asmtp007/MantshX 4.0) with ESMTP id lB3Jfrhn006525 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 3 Dec 2007 11:41:54 -0800 (PST) X-Mailer: Apple Mail (2.915) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6313 Archived-At: Hi, the fport fill input code provides a way to avoid some threaded deadlocks with fport_wait_for_input. I appreciate this tremendously! Should this protection be extended to 'accept' in the socket code to prevent the entire runtime from blocking if a thread blocks on accept? Cheers, Dan Ridge _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user