Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6944 in orxonox.OLD for branches/network/src/lib


Ignore:
Timestamp:
Feb 1, 2006, 3:17:30 PM (19 years ago)
Author:
rennerc
Message:

networkSocket: hack for gdb

Location:
branches/network/src/lib/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_socket.cc

    r6943 r6944  
    327327
    328328
     329#ifdef DONTEXITTHREADS
     330  while ( true )
     331  {
     332    SDL_Delay(1000);
     333  }
     334#endif
     335 
    329336  PRINTF(0)("QUIT READ THREAD\n");
    330  
    331   while ( true );
    332337 
    333338  return 0;
     
    398403  }
    399404
     405#ifdef DONTEXITTHREADS
     406  while ( true )
     407  {
     408  SDL_Delay(1000);
     409  }
     410#endif
    400411
    401412  PRINTF(0)("QUIT WRITE THREAD\n");
    402  
    403   while ( true );
     413
    404414  return 0;
    405415 
  • branches/network/src/lib/network/network_socket.h

    r6923 r6944  
    77#ifndef _NETWORK_SOCKET
    88#define _NETWORK_SOCKET
     9
     10//HACK else gdb will not work on server
     11#define DONTEXITTHREADS
    912
    1013//if you want to use outgoing buffer define _USE_OUTGOING_BUFFER
Note: See TracChangeset for help on using the changeset viewer.