summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2004-04-24 21:19:30 +0000
committerKevin Ryde <user42@zip.com.au>2004-04-24 21:19:30 +0000
commit384660593829ec747fb0d9683e87e5ebb598f3f3 (patch)
treeafb4c95cbd33643e7849e1fcbaecb46edb42c17b
parentcff55508f9d606da516b046841cec21699721ec0 (diff)
downloadguile-384660593829ec747fb0d9683e87e5ebb598f3f3.tar.gz
(scm_yield): Correction, actually call scm_thread_yield.
Reported by Hyperdivision.
-rw-r--r--libguile/threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/threads.c b/libguile/threads.c
index e347c79cc..c5c3ca73f 100644
--- a/libguile/threads.c
+++ b/libguile/threads.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2002, 2003, 2004 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -443,7 +443,7 @@ SCM_DEFINE (scm_yield, "yield", 0, 0, 0,
"Move the calling thread to the end of the scheduling queue.")
#define FUNC_NAME s_scm_yield
{
- return SCM_BOOL (scm_thread_yield);
+ return SCM_BOOL (scm_thread_yield ());
}
#undef FUNC_NAME