Switch to reference parameters as appropriate.
[shibboleth/cpp-xmltooling.git] / xmltooling / util / Threads.h
index 50d031f..40bd093 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2006 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.
@@ -15,7 +15,7 @@
  */
 
 /**
- * @file Threads.h
+ * @file xmltooling/util/Threads.h
  * 
  * Thread and locking wrappers 
  */
@@ -26,6 +26,8 @@
 #include <xmltooling/base.h>
 #include <xmltooling/exceptions.h>
 
+#include <signal.h>\r
+
 namespace xmltooling
 {
     DECL_XMLTOOLING_EXCEPTION(ThreadingException,XMLTOOL_EXCEPTIONAPI(XMLTOOL_API),xmltooling,XMLToolingException,Exceptions during threading/locking operations);
@@ -84,7 +86,7 @@ namespace xmltooling
          * 
          * @param seconds   time to sleep
          */
-        static void sleep(int secounds);        
+        static void sleep(int seconds);        
 #ifndef WIN32
         /**
          * Masks all signals from a thread.