Skip to content

Commit

Permalink
shmmonitor: optimize startup to avoid repeated start
Browse files Browse the repository at this point in the history
  • Loading branch information
rbx committed Apr 8, 2021
1 parent effba53 commit 72175e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fairmq/shmem/Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ class Manager
}

if (autolaunchMonitor) {
boost::interprocess::scoped_lock<boost::interprocess::named_mutex> lock(fShmMtx);
StartMonitor(fShmId);
}

Expand Down

0 comments on commit 72175e5

Please sign in to comment.