The functions funcall-async
and funcall-async-list
call the function func with the supplied arguments, that is what cl:funcall
would do, but asynchronously.
func-and-args must be a cons of a function designator and a proper list of arguments.
"Background Execute
n"
.funcall-async
and/or funcall-async-list
often, you may want to increase the limit, by using set-funcall-async-limit.funcall-async
and funcall-async-list are intended for functions that finish quickly. If func takes a long time, it prevents the background process from executing other async calls, and if all of the background processes become occupied by long-executing functions it will cause other async calls to be delayed until one of the background processes finishes. Thus if you have a long-executing function that you want to run asynchronously, it is better to use process-run-function instead, or use your own pool of worker processes.LispWorks User Guide and Reference Manual - 20 Sep 2017