Changeset 355 for code/branches/FICN/src/network/dummyserver.cc
- Timestamp:
- Nov 29, 2007, 6:13:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/dummyserver.cc
r352 r355 9 9 #include "ConnectionManager.h" 10 10 #include "PacketManager.h" 11 12 // workaround for usleep(int) under windows13 #ifdef WIN3214 #include "winbase.h"15 #endif16 11 17 12 … … 28 23 while(!quit){ 29 24 if(server.queueEmpty()) 30 // under windows, use Sleep(milliseconds) instead of usleep(microseconds) 31 // Warning: Sleep(1) is ten times longer than usleep(100)! 32 #ifdef WIN32 33 Sleep(1); 34 #else 25 // Warning: usleep(100) under windows is ten times longer than with unix! 35 26 usleep(100); 36 #endif37 27 else{ 38 28 ENetAddress addr;
Note: See TracChangeset
for help on using the changeset viewer.