1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

api-scheduling.texi: Syntactic cleanups.

* doc/ref/api-scheduling.texi: Remove vestigial comments.
This commit is contained in:
Andy Wingo 2016-11-01 19:40:19 +01:00
parent eeeee3297b
commit 4280c818c2

View file

@ -53,7 +53,6 @@ Return a list of all threads.
Return the thread that called this function. Return the thread that called this function.
@end deffn @end deffn
@c begin (texi-doc-string "guile" "call-with-new-thread")
@deffn {Scheme Procedure} call-with-new-thread thunk [handler] @deffn {Scheme Procedure} call-with-new-thread thunk [handler]
Call @code{thunk} in a new thread and with a new dynamic state, Call @code{thunk} in a new thread and with a new dynamic state,
returning the new thread. The procedure @var{thunk} is called via returning the new thread. The procedure @var{thunk} is called via
@ -87,7 +86,6 @@ Return @code{#t} ff @var{obj} is a thread; otherwise, return
@code{#f}. @code{#f}.
@end deffn @end deffn
@c begin (texi-doc-string "guile" "join-thread")
@deffn {Scheme Procedure} join-thread thread [timeout [timeoutval]] @deffn {Scheme Procedure} join-thread thread [timeout [timeoutval]]
@deffnx {C Function} scm_join_thread (thread) @deffnx {C Function} scm_join_thread (thread)
@deffnx {C Function} scm_join_thread_timed (thread, timeout, timeoutval) @deffnx {C Function} scm_join_thread_timed (thread, timeout, timeoutval)
@ -106,7 +104,6 @@ specified; @code{#f} is returned otherwise).
Return @code{#t} if @var{thread} has exited, or @code{#f} otherwise. Return @code{#t} if @var{thread} has exited, or @code{#f} otherwise.
@end deffn @end deffn
@c begin (texi-doc-string "guile" "yield")
@deffn {Scheme Procedure} yield @deffn {Scheme Procedure} yield
If one or more threads are waiting to execute, calling yield forces an 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. immediate context switch to one of them. Otherwise, yield has no effect.