guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some introductory docs about C level threading


From: Doug Evans
Subject: Re: Some introductory docs about C level threading
Date: Wed, 9 Feb 2005 08:33:51 -0800 (PST)

Marius Vollmer writes:
 > Kevin Ryde <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]