[Gc] Patch for minor "declarative" improvements

Boehm, Hans hans.boehm at hp.com
Sun Sep 13 11:37:49 PDT 2009


Thanks.  Looks good.

Hans 

> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com 
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Ivan Maidanski
> Sent: Sunday, September 13, 2009 4:52 AM
> To: gc at napali.hpl.hp.com
> Subject: [Gc] Patch for minor "declarative" improvements
> 
> Hi!
> 
> This small patch (ivmai135.diff) changes only several 
> declarations. I've replaced "STATIC" with "static" for 
> symbols without "GC_" prefix (almost all symbols had been 
> added by myself earlier, resides in Win32-specific file (and 
> shouldn't harden the debugging)). Thus these "unprefixed" 
> symbols won't be visible outside even if NO_DEBUGGING is unset.
> 
> Also GC_wait_builder() is made static.
> 
> ChangeLog entries:
> 
>         * alloc.c (world_stopped_total_time, 
> world_stopped_total_divisor):
>         Replace "STATIC" with "static" in the definition (since the
>         symbols aren't prefixed with "GC_").
>         * win32_threads.c (marker_sp, marker_bsp, 
> marker_last_stack_min,
>         start_mark_threads, mark_mutex, builder_cv, mark_cv,
>         mark_mutex_event, signalObjectAndWait_func, 
> main_thread_start):
>         Ditto.
>         * pthread_support.c (GC_wait_builder): Define as STATIC.
>         * win32_threads.c (GC_wait_builder): Ditto.
> 
> Bye.
> 


More information about the Gc mailing list