version 1.12, 2015/08/25 07:46:41 |
version 1.13, 2017/08/30 09:40:30 |
Line 79 diff -urN gc-7.4.2.orig/alloc.c gc-7.4.2/alloc.c |
|
Line 79 diff -urN gc-7.4.2.orig/alloc.c gc-7.4.2/alloc.c |
|
+ needed_blocks; |
+ needed_blocks; |
if (blocks_to_get > MAXHINCR) { |
if (blocks_to_get > MAXHINCR) { |
word slop; |
word slop; |
@@ -1334,6 +1343,21 @@ |
|
GC_bool retry = FALSE; |
|
|
|
if (gran == 0) return(0); |
|
+#if defined(_MSC_VER) |
|
+ { |
|
+#include <signal.h> |
|
+ extern int recv_intr; |
|
+ if ( recv_intr ) { |
|
+ if ( recv_intr == 1 ) { |
|
+ recv_intr = 0; |
|
+ int_handler(); |
|
+ } else { |
|
+ recv_intr = 0; |
|
+ ox_usr1_handler(0); |
|
+ } |
|
+ } |
|
+ } |
|
+#endif |
|
|
|
while (*flh == 0) { |
|
ENTER_GC(); |
|
diff -urN gc-7.4.2.orig/misc.c gc-7.4.2/misc.c |
diff -urN gc-7.4.2.orig/misc.c gc-7.4.2/misc.c |
--- gc-7.4.2.orig/misc.c 2014-06-03 15:08:02.000000000 +0900 |
--- gc-7.4.2.orig/misc.c 2014-06-03 15:08:02.000000000 +0900 |
+++ gc-7.4.2/misc.c 2015-08-04 14:21:02.000000000 +0900 |
+++ gc-7.4.2/misc.c 2015-08-04 14:21:02.000000000 +0900 |