shm: add some debug output

This commit is contained in:
Alexey Rybalchenko
2022-09-09 13:50:56 +02:00
parent f5c46ce018
commit 072d7cb744
2 changed files with 4 additions and 1 deletions

View File

@@ -74,6 +74,8 @@ struct UnmanagedRegion
// TODO: refactor this
cfg.size = size;
LOG(debug) << "UnmanagedRegion(): " << fName << " | remote: " << remote << ".";
if (!cfg.path.empty()) {
fName = std::string(cfg.path + fName);
@@ -171,6 +173,7 @@ struct UnmanagedRegion
~UnmanagedRegion()
{
LOG(debug) << "~UnmanagedRegion(): " << fName << " | remote: " << fRemote << ".";
fStopAcks = true;
if (fAcksSender.joinable()) {