[cpp-xmltooling] branch main updated: CPPXT-152 - PThread sleep method is recursive

Scott Cantor cantor.2 at osu.edu
Mon Nov 22 13:59:34 UTC 2021


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

scantor pushed a commit to branch main
in repository cpp-xmltooling.

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

The following commit(s) were added to refs/heads/main by this push:
     new b35a200  CPPXT-152 - PThread sleep method is recursive
b35a200 is described below

commit b35a200b201e98cf1db3fbee7f4a147aea5e4ddc
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 22 08:58:43 2021 -0500

    CPPXT-152 - PThread sleep method is recursive
    
    https://shibboleth.atlassian.net/browse/CPPXT-152
---
 xmltooling/util/PThreads.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xmltooling/util/PThreads.cpp b/xmltooling/util/PThreads.cpp
index 9bc67e5..8584085 100644
--- a/xmltooling/util/PThreads.cpp
+++ b/xmltooling/util/PThreads.cpp
@@ -294,7 +294,7 @@ void Thread::exit(void* return_val)
 
 void Thread::sleep(int seconds)
 {
-    sleep(seconds);
+    ::sleep(seconds);
 }
 
 void Thread::mask_all_signals(void)

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


More information about the commits mailing list