| 2407 | /* and dbug-file isn't readable after a system crash !! */ |
| 2408 | |
| 2409 | static void DbugFlush(CODE_STATE *cs) |
| 2410 | { |
| 2411 | if (cs->stack->flags & FLUSH_ON_WRITE) |
| 2412 | { |
| 2413 | (void) fflush(cs->stack->out_file); |
| 2414 | if (cs->stack->delay) |
| 2415 | (void) Delay(cs->stack->delay); |
| 2416 | } |
| 2417 | if (!cs->locked) |
| 2418 | pthread_mutex_unlock(&THR_LOCK_dbug); |
| 2419 | } /* DbugFlush */ |
| 2420 | |
| 2421 | |
| 2422 | /* For debugging */ |
no outgoing calls
no test coverage detected