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
This commit is contained in:
parent
e10bb2a6ae
commit
1d457d6d22
12
docs/yap.tex
12
docs/yap.tex
@ -520,14 +520,19 @@ is still experimental.
|
|||||||
or-parallelism supported by one of these three forms. This option is
|
or-parallelism supported by one of these three forms. This option is
|
||||||
still highly experimental.
|
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
|
@item @code{--with-gmp[=DIR]} give a path to where one can find the
|
||||||
@code{GMP} library if not installed in the default path.
|
@code{GMP} library if not installed in the default path.
|
||||||
|
|
||||||
|
|
||||||
@item @code{--enable-threads} allows using of the multi-threading
|
@item @code{--enable-threads} allows using of the multi-threading
|
||||||
predicates provided by YAP. Depending on the operating system, the
|
predicates provided by YAP. Depending on the operating system, the
|
||||||
option @code{--enable-pthread-locking} may also need to be used.
|
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
|
@end itemize
|
||||||
|
|
||||||
Next section discusses machine dependent details.
|
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
|
is @code{on} if enables or @code{off} if disabled. The default value for
|
||||||
this flag is @code{off}.
|
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
|
@end table
|
||||||
|
|
||||||
@item current_prolog_flag(?@var{Flag},-@var{Value}) [ISO]
|
@item current_prolog_flag(?@var{Flag},-@var{Value}) [ISO]
|
||||||
|
Reference in New Issue
Block a user