/[emacs]/emacs/gc/alloc.c
ViewVC logotype

Diff of /emacs/gc/alloc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.2 by fx, Fri Jun 6 09:43:30 2003 UTC revision 1.2.2.3 by fx, Mon Jun 16 15:41:50 2003 UTC
# Line 72  int GC_full_freq = 19;    /* Every 20th Line 72  int GC_full_freq = 19;    /* Every 20th
72  GC_bool GC_need_full_gc = FALSE;  GC_bool GC_need_full_gc = FALSE;
73                             /* Need full GC do to heap growth.   */                             /* Need full GC do to heap growth.   */
74    
75    #ifdef THREADS
76      GC_bool GC_world_stopped = FALSE;
77    # define IF_THREADS(x) x
78    #else
79    # define IF_THREADS(x)
80    #endif
81    
82  word GC_used_heap_size_after_full = 0;  word GC_used_heap_size_after_full = 0;
83    
84  char * GC_copyright[] =  char * GC_copyright[] =
# Line 488  GC_stop_func stop_func; Line 495  GC_stop_func stop_func;
495          GC_cond_register_dynamic_libraries();          GC_cond_register_dynamic_libraries();
496  #   endif  #   endif
497      STOP_WORLD();      STOP_WORLD();
498        IF_THREADS(GC_world_stopped = TRUE);
499  #   ifdef CONDPRINT  #   ifdef CONDPRINT
500        if (GC_print_stats) {        if (GC_print_stats) {
501          GC_printf1("--> Marking for collection %lu ",          GC_printf1("--> Marking for collection %lu ",
# Line 518  GC_stop_func stop_func; Line 526  GC_stop_func stop_func;
526                        }                        }
527  #                   endif  #                   endif
528                      GC_deficit = i; /* Give the mutator a chance. */                      GC_deficit = i; /* Give the mutator a chance. */
529                        IF_THREADS(GC_world_stopped = FALSE);
530                      START_WORLD();                      START_WORLD();
531                      return(FALSE);                      return(FALSE);
532              }              }
# Line 551  GC_stop_func stop_func; Line 560  GC_stop_func stop_func;
560              (*GC_check_heap)();              (*GC_check_heap)();
561          }          }
562            
563        IF_THREADS(GC_world_stopped = FALSE);
564      START_WORLD();      START_WORLD();
565  #   ifdef PRINTTIMES  #   ifdef PRINTTIMES
566          GET_TIME(current_time);          GET_TIME(current_time);

Legend:
Removed from v.1.2.2.2  
changed lines
  Added in v.1.2.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26