|  |  D.2.10.3 getcores Procedure from libraryresources.lib(see  resources_lib).
 
Example:Usage:
getcores(n), n int
Return:
the number of available processor cores.
Note:
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:
 addcores;
 parallel_lib;
 setcores;
 tasks_lib.|  | LIB "resources.lib";
setcores(4);
==> 4
getcores();
==> 4
 | 
 
 |