1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

(Threads): In call-with-new-thread, handler arg is optional (as of 1.8.0).

This commit is contained in:
Kevin Ryde 2006-04-28 21:59:33 +00:00
parent ab85b49900
commit a25086f2e7

View file

@ -240,7 +240,7 @@ Return the thread that called this function.
@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,
returning the new thread. The procedure @var{thunk} is called via
@code{with-continuation-barrier}.