Changeset 346 for code/branches/FICN/src/network/dummyserver.cc
- Timestamp:
- Nov 29, 2007, 4:21:30 PM (16 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN
-
Property
svn:ignore
set to
FICN.sln
FICN.ncb
FICN.vcproj
FICN.vcproj.RGRIEDERT60.rgrieder.user
FICN.suo
obj
-
Property
svn:ignore
set to
-
code/branches/FICN/src/network/dummyserver.cc
r341 r346 9 9 #include "ConnectionManager.h" 10 10 #include "PacketManager.h" 11 12 // workaround for usleep(int) under windows 13 #ifdef WIN32 14 #include "winbase.h" 15 #endif 16 11 17 12 18 using namespace network; … … 23 29 while(!quit){ 24 30 if(server.queueEmpty()) 31 // under windows, use Sleep(milliseconds) instead of usleep(microseconds) 32 // Warning: Sleep(1) is ten times longer than usleep(100)! 33 #ifdef WIN32 34 Sleep(1); 35 #else 25 36 usleep(100); 37 #endif 26 38 else{ 27 39 ENetAddress addr;
Note: See TracChangeset
for help on using the changeset viewer.