version 1.38, 2016/08/24 00:52:50 |
version 1.40, 2017/08/30 09:40:30 |
|
|
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* $OpenXM: OpenXM_contrib2/asir2000/io/ox.c,v 1.37 2016/06/29 05:10:14 ohara Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/io/ox.c,v 1.39 2016/08/24 05:33:58 ohara Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 434 void ox_usr1_handler(int sig) |
|
Line 434 void ox_usr1_handler(int sig) |
|
NODE t; |
NODE t; |
|
|
#if !defined(VISUAL) && !defined(__MINGW32__) |
#if !defined(VISUAL) && !defined(__MINGW32__) |
signal(SIGUSR1,ox_usr1_handler); |
set_signal_for_restart(SIGUSR1,ox_usr1_handler); |
#endif |
#endif |
if ( critical_when_signal ) { |
if ( critical_when_signal ) { |
fprintf(stderr,"usr1 : critical\n"); |
fprintf(stderr,"usr1 : critical\n"); |
Line 448 void ox_usr1_handler(int sig) |
|
Line 448 void ox_usr1_handler(int sig) |
|
bevalf((FUNC)BDY(t),0); |
bevalf((FUNC)BDY(t),0); |
fprintf(stderr, "done.\n"); |
fprintf(stderr, "done.\n"); |
} |
} |
|
LEAVE_SIGNAL_CS_ALL; |
ox_resetenv("usr1 : return to toplevel by SIGUSR1"); |
ox_resetenv("usr1 : return to toplevel by SIGUSR1"); |
} |
} |
} |
} |