Top
Back: resources_lib
Forward: setcores
FastBack: realizationMatroids_lib
FastForward: tasks_lib
Up: resources_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.21.1 addcores

Procedure from library resources.lib (see resources_lib).

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.

Example:
 
See also: getcores; parallel_lib; setcores; tasks_lib.


Top Back: resources_lib Forward: setcores FastBack: realizationMatroids_lib FastForward: tasks_lib Up: resources_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.