MCPcopy Create free account
hub / github.com/Icinga/icinga2 / RegisterComment

Method RegisterComment

lib/icinga/checkable-comment.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void Checkable::RegisterComment(const Comment::Ptr& comment)
67{
68 std::unique_lock<std::mutex> lock(m_CommentMutex);
69 m_Comments.insert(comment);
70}
71
72void Checkable::UnregisterComment(const Comment::Ptr& comment)
73{

Callers 1

StartMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected