diff options
author | Marius Vollmer <mvo@zagadka.de> | 2002-10-16 16:03:44 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2002-10-16 16:03:44 +0000 |
commit | 389626c5eca87558c4f5fc5f4c1789802f0dd427 (patch) | |
tree | d5e641556cc22a0649b8d585a96f17b22b114774 /libguile/inline.h | |
parent | f6ecc207bf59fe12bda68fd9b5256e7142ef3e62 (diff) | |
download | guile-389626c5eca87558c4f5fc5f4c1789802f0dd427.tar.gz |
(scm_cell, scm_double_cell): Also allow USE_NULL_THREADS to not
protect the slot initializers.
Diffstat (limited to 'libguile/inline.h')
-rw-r--r-- | libguile/inline.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/inline.h b/libguile/inline.h index 393182b6a..2fd498c44 100644 --- a/libguile/inline.h +++ b/libguile/inline.h @@ -137,8 +137,8 @@ scm_cell (scm_t_bits car, scm_t_bits cdr) SCM_GC_SET_CELL_WORD (z, 0, car); #ifdef USE_THREADS -#ifndef USE_COOP_THREADS - /* When we are using non-cooperating threads, we might need to make +#if !defined(USE_COOP_THREADS) && !defined(USE_NULL_THREADS) + /* When we are using preemtive threads, we might need to make sure that the initial values for the slots are protected until the cell is completely initialized. */ @@ -188,7 +188,7 @@ scm_double_cell (scm_t_bits car, scm_t_bits cbr, SCM_GC_SET_CELL_WORD (z, 0, car); #ifdef USE_THREADS -#ifndef USE_COOP_THREADS +#if !defined(USE_COOP_THREADS) && !defined(USE_NULL_THREADS) /* When we are using non-cooperating threads, we might need to make sure that the initial values for the slots are protected until the cell is completely initialized. |