Skip to content
  • Federico Mena Quintero's avatar
    Switch the alarm system from using SIGALRM to normal glib timers. Also, · a6d5818f
    Federico Mena Quintero authored
    2001-09-17  Federico Mena Quintero  <federico@ximian.com>
    
    	Switch the alarm system from using SIGALRM to normal glib timers.
    	Also, use a more robust de-queueing mechanism.
    
    	* gui/alarm-notify/alarm.c (alarm_init): Removed.
    	(alarm_done): Remove the glib timeout instead of closing the pipes
    	and the signal handler.
    	(alarm_add): Allow adding alarms that happen before right now.
    	(queue_alarm): Use a glib timer instead of a signal.
    	(alarm_remove): Adjust the timeout as appropriate.
    
    	* gui/alarm-notify/notify-main.c (main): There is no need to
    	initialize the alarm system now.
    
    	* gui/main.c (main): Likewise.
    
    svn path=/trunk/; revision=12904
    a6d5818f