Thread is running slow for game!
Hi!
I'm currently porting the dedicated server for our game from win32 to linux. After fighting my way until it compiles and run... i get extremly slow response from the linux server. If i connect through LAN, i get like 700~900 ping. The game is setuped like this : - The main program is a console app waiting for input to interact with the game server - The game logic itself is spawned in a thread In win32, with default thread parameters, everything works perfectly. But i suspect that i'm not setting up my pthread accordingly for linux. Here is how i create the thread : Code:
pthread_attr_t threadAttr; //attribute for parameting the linux thread Thanks for any suggestions |
All times are GMT -5. The time now is 09:12 AM. |