[m-dev.] for review: cleanup signal setting.

Thomas Charles CONWAY conway at cs.mu.OZ.AU
Thu May 14 13:34:41 AEST 1998


Tyson Dowd, you write:
> Hi,
> 
> Would you be able to review this, Tom?
> 
> ===================================================================
> 
> 
> Estimated hours taken: 5
> 
> More cleanup of the memory management code.
> This time we clean up the signal handler setup code.
> 
> runtime/Mmakefile:
> 	Add new files.
> 
> runtime/mercury_memory.c:
> 	Rename setup_signal() to setup_signals().
> 
> runtime/mercury_memory_handlers.c:
> runtime/mercury_memory_handlers.h:
> 	Clean up signal handling.  
> 	Use MR_setup_signal to setup signal handlers.
> 	Define bus_handler and segv_handler signal handlers, the
> 	old signal handlers are just one or the other (or both).
> 
> runtime/mercury_prof.c:
> 	Use MR_setup_signal to setup signal handler.
> 
> runtime/mercury_signal.c:
> runtime/mercury_signal.h:
> 	New files -- a standard interface for setting up signal
> 	handlers (a porting base, if you like).  
> 

This looks fine.

Thomas
-- 
Thomas Conway <conway at cs.mu.oz.au>
Nail here [] for new monitor.  )O+



More information about the developers mailing list