00001 /* 00002 wefts_sleep.h 00003 Utility function to delay the threads 00004 00005 $Id: wefts_sleep.h,v 1.2 2003/08/05 15:40:20 jonnymind Exp $ 00006 --------------------------------------------- 00007 Begin : 2003-08-03 03:56 00008 Author : Giancarlo Niccolai 00009 00010 Last modified because: 00011 00012 */ 00013 00014 /************************************************************************** 00015 * This program is free software; you can redistribute it and/or modify * 00016 * it under the terms of the GNU Library General Public License as * 00017 * published by the Free Software Foundation; either version 2.1 of the * 00018 * License, or (at your option) any later version. * 00019 ***************************************************************************/ 00020 00021 #ifndef WT_SLEEP_H 00022 #define WT_SLEEP_H 00023 00024 namespace Wefts { 00025 00039 bool Sleep( long seconds, long nanoseconds ); 00040 00059 bool Sleep( double seconds ); 00060 } 00061 00062 #endif 00063 /* end of wefts_sleep.h */