mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Add scm_yield to manual alongside yield
* doc/ref/api-scheduling.texi (Threads): Mention scm_yield.
This commit is contained in:
parent
4280c818c2
commit
b2e7662ebe
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue