Top
Back: parallelWaitAll
Forward: parallelTestOR
FastBack: numerDecom_lib
FastForward: realclassify_lib
Up: parallel_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.18.4 parallelTestAND

Procedure from library parallel.lib (see parallel_lib).

Usage:
parallelTestAND(commands, arguments[, timeout]); commands list or string, arguments list, timeout int

Return:
1, if commands[i] applied to arguments[i] is not equal to zero for all i = 1, ..., size(arguments);
0, otherwise.
An optional timeout in ms can be provided. Default is 0 which disables the timeout. In case of timeout, -1 is returned.

Note:
The entries of the list commands must be strings. The entries of the list arguments must be lists.
commands[i] applied to arguments[i] must evaluate to an integer for i = 1, ..., size(arguments).
As a shortcut, commands can be a string. This is synonymous to providing a list of size(arguments) copies of this string.

Example:
 
See also: parallelTestOR; tasks_lib.


Top Back: parallelWaitAll Forward: parallelTestOR FastBack: numerDecom_lib FastForward: realclassify_lib Up: parallel_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-7, Aug 2013, generated by texi2html.