From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: anyone define port types? Date: Tue, 05 Apr 2016 10:06:34 -0400 Message-ID: <87oa9om9p1.fsf@netris.org> References: <87y492mnjp.fsf@pobox.com> <327356C5-3603-405F-B060-3FE1CDBD81BB@verizon.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1459865250 19199 80.91.229.3 (5 Apr 2016 14:07:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2016 14:07:30 +0000 (UTC) Cc: Andy Wingo , guile-user@gnu.org, guile-devel@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Apr 05 16:07:25 2016 Return-path: Envelope-to: guile-user@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 1anRdc-0003zt-E9 for guile-user@m.gmane.org; Tue, 05 Apr 2016 16:07:24 +0200 Original-Received: from localhost ([::1]:37303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anRdb-0008Ty-U3 for guile-user@m.gmane.org; Tue, 05 Apr 2016 10:07:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anRdM-0008SP-Ss for guile-user@gnu.org; Tue, 05 Apr 2016 10:07:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anRdH-00053Q-7a for guile-user@gnu.org; Tue, 05 Apr 2016 10:07:08 -0400 Original-Received: from world.peace.net ([50.252.239.5]:38192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anRdC-00051Z-1U; Tue, 05 Apr 2016 10:06:58 -0400 Original-Received: from pool-71-174-33-207.bstnma.east.verizon.net ([71.174.33.207] helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1anRd3-0005UT-6m; Tue, 05 Apr 2016 10:06:49 -0400 In-Reply-To: <327356C5-3603-405F-B060-3FE1CDBD81BB@verizon.net> (Matt Wette's message of "Mon, 28 Mar 2016 16:53:36 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 50.252.239.5 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:12543 gmane.lisp.guile.devel:18272 Archived-At: Matt Wette writes: >> On Mar 28, 2016, at 12:04 PM, Andy Wingo wrote: >> I am working on improving our port implementation to take advantage of >> the opportunity to break ABI in 2.2. I am wondering how much I can >> break C API as well -- there are some changes that would allow better >> user-space threading > > I made an attempt to use soft ports, but backed out after I could not > figure a way to extra data I wanted to associate with my port. > > Addition of an access function to user-defined data would enlarge the > cases for which soft ports could be used. Object properties can be used to associate extra information with any object that has identity, which includes ports. See 'make-object-property' in the Guile manual. Mark