[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scm_i_fraction_reduce thread safety
From: |
Kevin Ryde |
Subject: |
Re: scm_i_fraction_reduce thread safety |
Date: |
Mon, 12 Jan 2004 10:51:43 +1000 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
Marius Vollmer <address@hidden> writes:
>
> User code should only use scm_numerator and scm_denominator to access
> parts of the fraction object and those functions will first reduce the
> fraction (in a thread safe way). Wouldn't that be enough?
Yep, though it seems a shame the accessors have to be slowed down just
so printing and equality can write back.
It's probably worth thinking about reduction policy. Certainly
printing and equality need a reduced form, but if one never actually
does those then it might be nice to have some other way, either
automatic like under gc or explicit.
- Re: scm_i_fraction_reduce thread safety, Marius Vollmer, 2004/01/10
- Re: scm_i_fraction_reduce thread safety, Kevin Ryde, 2004/01/10
- Re: scm_i_fraction_reduce thread safety, Marius Vollmer, 2004/01/10
- Re: scm_i_fraction_reduce thread safety, Marius Vollmer, 2004/01/20
- Re: scm_i_fraction_reduce thread safety, Carl Witty, 2004/01/20
- Re: scm_i_fraction_reduce thread safety, Marius Vollmer, 2004/01/21
- Re: scm_i_fraction_reduce thread safety, Dirk Herrmann, 2004/01/27
- Re: scm_i_fraction_reduce thread safety, Rob Browning, 2004/01/27
- Re: scm_i_fraction_reduce thread safety, Marius Vollmer, 2004/01/29
- Re: scm_i_fraction_reduce thread safety, Rob Browning, 2004/01/29