summaryrefslogtreecommitdiff
path: root/libguile/inline.h
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2002-10-27 20:13:00 +0000
committerMarius Vollmer <mvo@zagadka.de>2002-10-27 20:13:00 +0000
commitb1e945d7ece6518087db039c0505d927b1df513e (patch)
tree89505bc62420a310672187e20d4728d00befdebc /libguile/inline.h
parente30a0d8565505494643126ea11ac35afc4f54f9f (diff)
downloadguile-b1e945d7ece6518087db039c0505d927b1df513e.tar.gz
(scm_cell, scm_double_cell): Also allow USE_COPT_THREADS to not
protect the slot initializers.
Diffstat (limited to 'libguile/inline.h')
-rw-r--r--libguile/inline.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/inline.h b/libguile/inline.h
index 2fd498c44..1b919cf07 100644
--- a/libguile/inline.h
+++ b/libguile/inline.h
@@ -3,7 +3,7 @@
#ifndef SCM_INLINE_H
#define SCM_INLINE_H
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -137,7 +137,7 @@ scm_cell (scm_t_bits car, scm_t_bits cdr)
SCM_GC_SET_CELL_WORD (z, 0, car);
#ifdef USE_THREADS
-#if !defined(USE_COOP_THREADS) && !defined(USE_NULL_THREADS)
+#if !defined(USE_COOP_THREADS) && !defined(USE_NULL_THREADS) && !defined(USE_COPT_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
-#if !defined(USE_COOP_THREADS) && !defined(USE_NULL_THREADS)
+#if !defined(USE_COOP_THREADS) && !defined(USE_NULL_THREADS) && !defined(USE_COPT_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.