Added new flag "max_workers". It uses a C function, "p_max_workers" that is currently defined in the *wrong* place ("threads.c").
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2193 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -537,7 +537,8 @@ 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.
|
||||
number of parallel processes (its value can be consulted at runtime
|
||||
using the flag @code{max_workers}).
|
||||
|
||||
@item @code{--with-gmp[=DIR]} give a path to where one can find the
|
||||
@code{GMP} library if not installed in the default path.
|
||||
@@ -7775,6 +7776,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_workers
|
||||
@findex max_workers (yap_flag/2 option)
|
||||
@* Read-only flag telling the maximum number of Prolog workers when using
|
||||
or-parallelism.
|
||||
|
||||
@item max_threads
|
||||
@findex max_threads (yap_flag/2 option)
|
||||
@* Read-only flag telling the maximum number of Prolog threads that can
|
||||
|
||||
Reference in New Issue
Block a user