|  |  D.2.10.1 addcores Procedure from libraryresources.lib(see  resources_lib).
 
Example:Usage:
addcores(n), n int
Return:
the adjusted number of available processor cores, after n has been
added to it. If n is negative, this number is reduced.
Note:
The number of available processor cores must be at least 1. Reducing
this number may take some time.
This procedure should only be called in the main process of a
Singular session and not within any task defined via tasks.lib.
 
 See also:
 getcores;
 parallel_lib;
 setcores;
 tasks_lib.|  | LIB "resources.lib";
setcores(4);
==> 4
addcores(-2);
==> 2
 | 
 
 |