|
E.3 libSingular
libSingular is the C++-library version of SINGULAR.
Singular/libsingular.h is the main include file,
-lSingular the link parameter,
lib/pkgconfig/Singular.pc provides all parameters in the pkconfig format.
It contains all parts of SINGULAR with two exceptions:
-
memory allocation functions for GMP
(see
mmInit in Singular/tesths.cc )
-
signal handlers
(see
init_signals in Singular/cntrlc.cc ).
At least a handler for SIGCHLD must be installed
for the routines from parallel_lib, modstd_lib, modnormal_lib, tasks_lib.
If the child was started by libSingular the handler
has to call sig_chld_hdl from Singular/links/ssiLink.cc
or implement something similiar (call slClose(l) for ssi links).
|