projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a simple storage abstraction, and an in-memory sample.
[shibboleth/cpp-xmltooling.git]
/
xmltooling
/
util
/
Threads.h
diff --git
a/xmltooling/util/Threads.h
b/xmltooling/util/Threads.h
index
25147c6
..
50d031f
100644
(file)
--- a/
xmltooling/util/Threads.h
+++ b/
xmltooling/util/Threads.h
@@
-78,7
+78,13
@@
namespace xmltooling
* @param return_val the return value for the thread
*/
static void exit(void* return_val);
* @param return_val the return value for the thread
*/
static void exit(void* return_val);
-
+
+ /**
+ * Sleeps the current thread for the specified amount of time.
+ *
+ * @param seconds time to sleep
+ */
+ static void sleep(int secounds);
#ifndef WIN32
/**
* Masks all signals from a thread.
#ifndef WIN32
/**
* Masks all signals from a thread.