From 1d457d6d22047011fa57b72b2573f7539eaf0b39 Mon Sep 17 00:00:00 2001 From: pmoura Date: Mon, 26 Feb 2007 19:03:19 +0000 Subject: [PATCH] Added documentation on the new read-only flag "max_threads" and on the new "configure" options "--with-max-workers" and "--with-max-threads". git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1803 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- docs/yap.tex | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/yap.tex b/docs/yap.tex index b6e1e6150..f3f200ded 100644 --- a/docs/yap.tex +++ b/docs/yap.tex @@ -520,14 +520,19 @@ is still experimental. or-parallelism supported by one of these three forms. This option is still highly experimental. + @item @code{--with-max-workers} allows definition of the maximum +number of parallel processes. + @item @code{--with-gmp[=DIR]} give a path to where one can find the @code{GMP} library if not installed in the default path. - @item @code{--enable-threads} allows using of the multi-threading predicates provided by YAP. Depending on the operating system, the option @code{--enable-pthread-locking} may also need to be used. + @item @code{--with-max-threads} allows definition of the maximum +number of threads. + @end itemize Next section discusses machine dependent details. @@ -6664,6 +6669,11 @@ integers that are writable character codes using the list notation. It is @code{on} if enables or @code{off} if disabled. The default value for this flag is @code{off}. +@item max_threads +@findex max_threads (yap_flag/2 option) +@* Read-only flag telling the maximum number of Prolog threads that can +be created. + @end table @item current_prolog_flag(?@var{Flag},-@var{Value}) [ISO]