comparison src/profile.c @ 56:c0965ff3b039 r19-16-pre3

Import from CVS: tag r19-16-pre3
author cvs
date Mon, 13 Aug 2007 08:58:20 +0200
parents 8d2a9b52c682
children 131b0175ea99
comparison
equal deleted inserted replaced
55:9e8623109fad 56:c0965ff3b039
65 65
66 /* We use inside_profiling to prevent the handler from writing to 66 /* We use inside_profiling to prevent the handler from writing to
67 the table while another routine is operating on it. We also set 67 the table while another routine is operating on it. We also set
68 inside_profiling in case the timeout between signal calls is short 68 inside_profiling in case the timeout between signal calls is short
69 enough to catch us while we're already in there. */ 69 enough to catch us while we're already in there. */
70 volatile static int inside_profiling; 70 static volatile int inside_profiling;
71 71
72 static SIGTYPE 72 static SIGTYPE
73 sigprof_handler (int signo) 73 sigprof_handler (int signo)
74 { 74 {
75 /* Don't do anything if we are shutting down, or are doing a maphash 75 /* Don't do anything if we are shutting down, or are doing a maphash