Mercurial > hg > xemacs-beta
comparison src/profile.c @ 149:538048ae2ab8 r20-3b1
Import from CVS: tag r20-3b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:36:16 +0200 |
parents | 9f59509498e1 |
children | 3d6bfa290dbd |
comparison
equal
deleted
inserted
replaced
148:f659db2a1f73 | 149:538048ae2ab8 |
---|---|
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 |