00001 /* 00002 wefts_sleep.h 00003 Utility function to delay the threads 00004 00005 $Id: wefts_sleep.h,v 1.3 2003/08/15 00:43:58 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 00042 bool Sleep( long seconds, long nanoseconds ); 00043 00065 bool Sleep( double seconds ); 00066 } 00067 00068 #endif 00069 /* end of wefts_sleep.h */