X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=xmltooling%2Futil%2FThreads.h;h=50d031f0ff29a7f07197ec2734e2073db54cf443;hb=8c28c26a2cb6adf1e2f56af534b5157a9ec605e0;hp=25147c63dc55bb98bbae1d29b790d30796eb471f;hpb=5585f75801c2a5bc09bd45b319719070ea7545b6;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/util/Threads.h b/xmltooling/util/Threads.h index 25147c6..50d031f 100644 --- 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); - + + /** + * 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.