ADMB Documentation  11.1.2353
 All Classes Files Functions Variables Typedefs Friends Defines
adsleep.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: adsleep.cpp 2285 2014-09-04 18:10:02Z johnoel $
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00011 #include <admodel.h>
00012 #include <stdlib.h>
00013 
00014 #if defined(_WIN32)
00015   #include <windows.h>
00016 #endif
00017 
00022 void ADSleep(unsigned int t)
00023 {
00024 #if defined(_WIN32)
00025   Sleep(t);
00026 #else
00027   sleep(t);
00028 #endif
00029 }