[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some introductory docs about C level threading
From: |
Kevin Ryde |
Subject: |
Re: Some introductory docs about C level threading |
Date: |
Wed, 02 Feb 2005 10:40:38 +1100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Ken Raeburn <address@hidden> writes:
>
> -> (....x)[0] = ((... i >> 2) << 2 + scm_tc2_int)
> -> copy i, masking off bottom two bits, into target location; then add
> in scm_tc2_int
Any sensible compiler should do the one store that's given, and the
SCM type will mean it's atomic.
You can force load/stores to be exactly as given using `volatile', but
as far as I can tell this particular example shouldn't need that.
- Re: Some introductory docs about C level threading, Marius Vollmer, 2005/02/01
- Re: Some introductory docs about C level threading, Ken Raeburn, 2005/02/01
- Re: Some introductory docs about C level threading,
Kevin Ryde <=
- Re: Some introductory docs about C level threading, Ken Raeburn, 2005/02/01
- Re: Some introductory docs about C level threading, Kevin Ryde, 2005/02/06
- Re: Some introductory docs about C level threading, Ken Raeburn, 2005/02/08
- Re: Some introductory docs about C level threading, Marius Vollmer, 2005/02/09
- Re: Some introductory docs about C level threading, Kevin Ryde, 2005/02/09
- Re: Some introductory docs about C level threading, Marius Vollmer, 2005/02/10
- Re: Some introductory docs about C level threading, Marius Vollmer, 2005/02/09
- Re: Some introductory docs about C level threading, Ken Raeburn, 2005/02/10
- Re: Some introductory docs about C level threading, Marius Vollmer, 2005/02/10
- Re: Some introductory docs about C level threading, Ken Raeburn, 2005/02/10