| 115 | } |
| 116 | |
| 117 | void mysigterm (int sig){ |
| 118 | conf.paused++; |
| 119 | usleep(999*SLEEPTIME); |
| 120 | usleep(999*SLEEPTIME); |
| 121 | #ifndef NOODBC |
| 122 | pthread_mutex_lock(&log_mutex); |
| 123 | close_sql(); |
| 124 | pthread_mutex_unlock(&log_mutex); |
| 125 | #endif |
| 126 | conf.timetoexit = 1; |
| 127 | } |
| 128 | |
| 129 | #endif |
| 130 |
nothing calls this directly
no test coverage detected