| 1162 | */ |
| 1163 | |
| 1164 | static int write_log_and_lock(const char *message, size_t len, time_t ts) |
| 1165 | { |
| 1166 | lock_operations.rd_lock(); |
| 1167 | int result= write_log(message, len, ts); |
| 1168 | lock_operations.rd_unlock(); |
| 1169 | return result; |
| 1170 | } |
| 1171 | |
| 1172 | |
| 1173 | /** |
no test coverage detected