summaryrefslogtreecommitdiff
path: root/libguile/threads.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-09-11 11:42:48 +0200
committerLudovic Courtès <ludo@gnu.org>2009-09-14 00:42:25 +0200
commitb8e18ac25d00e6bf8fee1f534625d4ff5b084f42 (patch)
treef2d1206dc8275cbf5e913f0fdb82bb079b548ead /libguile/threads.c
parent7583976b3a408471ce2146bfaa8efab2598f2531 (diff)
downloadguile-b8e18ac25d00e6bf8fee1f534625d4ff5b084f42.tar.gz
Remove unused IA64 macro.
* libguile/threads.c (SCM_MARK_BACKING_STORE): Remove.
Diffstat (limited to 'libguile/threads.c')
-rw-r--r--libguile/threads.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/libguile/threads.c b/libguile/threads.c
index 3def0f385..ab01f0d1c 100644
--- a/libguile/threads.c
+++ b/libguile/threads.c
@@ -1596,26 +1596,6 @@ SCM_DEFINE (scm_condition_variable_p, "condition-variable?", 1, 0, 0,
}
#undef FUNC_NAME
-/*** Marking stacks */
-
-/* XXX - what to do with this? Do we need to handle this for blocked
- threads as well?
-*/
-#ifdef __ia64__
-# define SCM_MARK_BACKING_STORE() do { \
- ucontext_t ctx; \
- SCM_STACKITEM * top, * bot; \
- getcontext (&ctx); \
- scm_mark_locations ((SCM_STACKITEM *) &ctx.uc_mcontext, \
- ((size_t) (sizeof (SCM_STACKITEM) - 1 + sizeof ctx.uc_mcontext) \
- / sizeof (SCM_STACKITEM))); \
- bot = (SCM_STACKITEM *) SCM_I_CURRENT_THREAD->register_backing_store_base; \
- top = (SCM_STACKITEM *) scm_ia64_ar_bsp (&ctx); \
- scm_mark_locations (bot, top - bot); } while (0)
-#else
-# define SCM_MARK_BACKING_STORE()
-#endif
-
/*** Select */