help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Hook needed in xfault()


From: Andrew Makhorin
Subject: Re: [Help-glpk] Hook needed in xfault()
Date: Wed, 19 Mar 2008 10:33:40 +0300

> if an error occurs in the GLPK library xfault is called and
> executes abort(). This is permissible in GLPSOL.

> In other programs using the library this behavior causes trouble:
> - The calling program cannot release objects and libraries.
> - The user of a GUI program cannot save his prior work.

> Please, provide a hook function in xfault() (in glib05.c).

> If the hook is set, abort() should not be executed. Instead the
> calling program shall decide what to do next.

There is a standard way to achive the same effect, namely, catching
the signal SIGABRT with the user-defined signal handler.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]