[cpp-xmltooling] branch master updated: CPPXT-116 Cleanup comment

Rod Widdowson rdw at steadingsoftware.com
Thu Feb 16 05:48:03 EST 2017


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository cpp-xmltooling.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=6a16f058ccc638c244171a070bd9ee2cc5a9f395

The following commit(s) were added to refs/heads/master by this push:
       new  6a16f05   CPPXT-116 Cleanup comment
6a16f05 is described below

commit 6a16f058ccc638c244171a070bd9ee2cc5a9f395
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: 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;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list