summaryrefslogtreecommitdiff
path: root/doc/ref/api-scheduling.texi
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2016-11-01 19:58:06 +0100
committerAndy Wingo <wingo@pobox.com>2016-11-01 19:58:06 +0100
commitb2e7662ebe1371a007c5b63a9e032fdccbe2a69b (patch)
tree0bbb6709c95841a0c864c3cc05e8052e1352be23 /doc/ref/api-scheduling.texi
parent4280c818c2f9cf3434489c522300c90efca4cada (diff)
downloadguile-b2e7662ebe1371a007c5b63a9e032fdccbe2a69b.tar.gz
Add scm_yield to manual alongside yield
* doc/ref/api-scheduling.texi (Threads): Mention scm_yield.
Diffstat (limited to 'doc/ref/api-scheduling.texi')
-rw-r--r--doc/ref/api-scheduling.texi1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/ref/api-scheduling.texi b/doc/ref/api-scheduling.texi
index ced192d7a..c7c7c8ebe 100644
--- a/doc/ref/api-scheduling.texi
+++ b/doc/ref/api-scheduling.texi
@@ -105,6 +105,7 @@ Return @code{#t} if @var{thread} has exited, or @code{#f} otherwise.
@end deffn
@deffn {Scheme Procedure} yield
+@deffnx {C Function} scm_yield (thread)
If one or more threads are waiting to execute, calling yield forces an
immediate context switch to one of them. Otherwise, yield has no effect.
@end deffn