[xmltooling] 08/15: CPPXT-116 Cleanup comment
Ferenc Wágner
wferi at moszumanska.debian.org
Fri Sep 8 22:04:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
wferi pushed a commit to branch master
in repository xmltooling.
commit 6a16f058ccc638c244171a070bd9ee2cc5a9f395
Author: Rod Widdowson <rdw at steadingsoftware.com>
Date: Thu Feb 16 10:46:45 2017 +0000
CPPXT-116 Cleanup comment
https://issues.shibboleth.net/jira/browse/CPPXT-116
---
xmltooling/util/ReloadableXMLFile.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xmltooling/util/ReloadableXMLFile.cpp b/xmltooling/util/ReloadableXMLFile.cpp
index 4880577..8c0d8cc 100644
--- a/xmltooling/util/ReloadableXMLFile.cpp
+++ b/xmltooling/util/ReloadableXMLFile.cpp
@@ -300,7 +300,7 @@ void* ReloadableXMLFile::reload_fn(void* pv)
if (r->m_filestamp >= stat_buf.st_mtime)
continue;
- // Elevate lock and recheck.
+ // Grab lock to protect m_filestamp.
r->m_log.debug("timestamp of local resource changed, obtaining write lock");
r->m_lock->wrlock();
r->m_filestamp = stat_buf.st_mtime;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xmltooling.git
More information about the Pkg-shibboleth-devel
mailing list