Changeset 3137 for code/branches/netp4/src/network/ConnectionManager.cc
- Timestamp:
- Jun 10, 2009, 12:24:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp4/src/network/ConnectionManager.cc
r3093 r3137 132 132 quit_=true; 133 133 receiverThread_->join(); 134 delete receiverThread_; 134 135 return true; 135 136 } … … 206 207 // we should never reach this point 207 208 printf("ConnectionManager: ENet returned with an error\n"); 208 quit_=true;209 printf("waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhh\n");209 // quit_=true; 210 // printf("waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhh\n"); 210 211 continue; 211 212 // add some error handling here ======================== … … 218 219 // printf("===================================================================="); 219 220 case ENET_EVENT_TYPE_DISCONNECT: 221 // printf("===================================================================="); 220 222 case ENET_EVENT_TYPE_RECEIVE: 221 222 223 processData(event); 224 event = new ENetEvent; 223 225 break; 224 226 case ENET_EVENT_TYPE_NONE: 225 227 //receiverThread_->yield(); 226 msleep(1 0);228 msleep(1); 227 229 break; 228 230 }
Note: See TracChangeset
for help on using the changeset viewer.