Don't bother setting an SSL version, we're not trusting it anyway.
[shibboleth/cpp-xmltooling.git] / xmltooling / util / PThreads.cpp
index 2f9a1d0..e914d79 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2005 Internet2
+ *  Copyright 2001-2007 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  */
 
 #include "internal.h"
+#include "logging.h"
 #include "util/Threads.h"
 
 #include <ctime>
 #include <signal.h>
-#include <log4cpp/Category.hh>
 
 #ifdef HAVE_PTHREAD
 # include <pthread.h>
@@ -36,8 +36,8 @@
 # error "This implementation is for POSIX platforms."
 #endif
 
+using namespace xmltooling::logging;
 using namespace xmltooling;
-using namespace log4cpp;
 using namespace std;
 
 namespace xmltooling {
@@ -269,7 +269,12 @@ void Thread::exit(void* return_val)
 {
     pthread_exit(return_val);
 }
-    
+
+void Thread::sleep(int seconds)
+{
+    sleep(seconds);
+}
+
 void Thread::mask_all_signals(void)
 {
     sigset_t sigmask;