From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Doug Evans Newsgroups: gmane.lisp.guile.user Subject: Re: Some introductory docs about C level threading Date: Wed, 9 Feb 2005 08:33:51 -0800 (PST) Message-ID: <16906.15215.714725.852570@casey.transmeta.com> References: <6b496d191d7216e82df4e9a7afbb3168@raeburn.org> <87fz0falxl.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107968502 28921 80.91.229.6 (9 Feb 2005 17:01:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2005 17:01:42 +0000 (UTC) Cc: guile-user@gnu.org, Ken Raeburn , Kevin Ryde Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Feb 09 18:01:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CyvDa-00066x-00 for ; Wed, 09 Feb 2005 18:01:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyvS9-0000zA-1R for guile-user@m.gmane.org; Wed, 09 Feb 2005 12:16:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CyvRz-0000va-37 for guile-user@gnu.org; Wed, 09 Feb 2005 12:16:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CyvRw-0000uJ-R9 for guile-user@gnu.org; Wed, 09 Feb 2005 12:16:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CyvRw-0000u0-IJ for guile-user@gnu.org; Wed, 09 Feb 2005 12:16:24 -0500 Original-Received: from [63.209.4.196] (helo=neon-gw.transmeta.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CyvDv-0002Pl-B4 for guile-user@gnu.org; Wed, 09 Feb 2005 12:01:55 -0500 Original-Received: from victor.transmeta.com (victor.transmeta.com [10.0.2.120]) by neon-gw.transmeta.com (Postfix) with ESMTP id 463C25F803D; Wed, 9 Feb 2005 08:33:56 -0800 (PST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost.transmeta.com (Postfix) with ESMTP id 3D45D4F802D; Wed, 9 Feb 2005 08:33:57 -0800 (PST) Original-Received: from victor.transmeta.com ([127.0.0.1]) by localhost (victor [127.0.0.1]) (amavisd-new, port 10022) with LMTP id 18840-05; Wed, 9 Feb 2005 08:33:57 -0800 (PST) Original-Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by victor.transmeta.com (Postfix) with ESMTP id 213DD4F802C; Wed, 9 Feb 2005 08:33:57 -0800 (PST) Original-Received: (from dje@localhost) by casey.transmeta.com (8.11.6/8.11.6) id j19GXpq31228; Wed, 9 Feb 2005 08:33:51 -0800 Original-To: Marius Vollmer In-Reply-To: X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid X-Virus-Scanned: by amavisd-new/internal at transmeta.com 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: main.gmane.org gmane.lisp.guile.user:4230 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:4230 Marius Vollmer writes: > Kevin Ryde writes: > > > You can force load/stores to be exactly as given using `volatile', [...] > > How would that work exactly? Can we flag each assignment operation as > volatile, or would the SCM type need to be made volatile? Would this > be a reason to remove SCM_SMOB_OBJECT_LOC, for example, and to > disallow pointers to SCM in general (since we must control all > assignments)? I don't think GCC uses `volatile' to emit the memory barriers Ken is refering to. Using `volatile' to solve this problem seems to me to be a non-starter. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user