| 1372 | } |
| 1373 | |
| 1374 | void |
| 1375 | LogObjectManager::flush_all_objects() |
| 1376 | { |
| 1377 | for (auto &_object : this->_objects) { |
| 1378 | _object->force_new_buffer(); |
| 1379 | } |
| 1380 | |
| 1381 | ACQUIRE_API_MUTEX("A LogObjectManager::flush_all_objects"); |
| 1382 | |
| 1383 | for (auto &_APIobject : this->_APIobjects) { |
| 1384 | _APIobject->force_new_buffer(); |
| 1385 | } |
| 1386 | |
| 1387 | RELEASE_API_MUTEX("R LogObjectManager::flush_all_objects"); |
| 1388 | } |
| 1389 | |
| 1390 | #if TS_HAS_TESTS |
| 1391 | #include "tscore/TestBox.h" |
no test coverage detected