version 1.3, 2019/03/27 05:34:47 |
version 1.5, 2020/10/04 03:14:09 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2018/parse/gc_risa.c,v 1.2 2018/10/01 07:48:01 noro Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2018/parse/gc_risa.c,v 1.4 2019/07/25 05:57:56 noro Exp $ */ |
|
|
#if defined(VISUAL) || defined(__MINGW32__) |
#if defined(VISUAL) || defined(__MINGW32__) |
#include "private/gcconfig.h" |
#include "private/gcconfig.h" |
|
|
#endif |
#endif |
#endif |
#endif |
#include "gc.h" |
#include "gc.h" |
|
#include <stdio.h> |
|
#include <stdlib.h> |
#include <time.h> |
#include <time.h> |
#include <signal.h> |
#include <signal.h> |
|
|
void error(char *); |
void error(char *); |
void int_handler(); |
void int_handler(); |
|
void ox_usr1_handler(int sig); |
|
|
int *StackBottom; |
int *StackBottom; |
int in_gc, caught_intr; |
int in_gc, caught_intr; |
Line 23 void check_caught_intr() |
|
Line 26 void check_caught_intr() |
|
int_handler(SIGINT); |
int_handler(SIGINT); |
} else if ( caught_intr == 2 ) { |
} else if ( caught_intr == 2 ) { |
caught_intr = 0; |
caught_intr = 0; |
|
fprintf(stderr,"entering reset mode...\n"); |
ox_usr1_handler(SIGUSR1); |
ox_usr1_handler(SIGUSR1); |
} |
} |
} |
} |
|
|
void *Risa_GC_malloc(size_t d) |
void *Risa_GC_malloc(size_t d) |