Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2008, 11:48:01 AM (16 years ago)
Author:
scheusso
Message:

enet is not threadsafe (catched that now); some first step towards dedicated server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/ConnectionManager.h

    r1409 r1491  
    4848#include <enet/enet.h>
    4949#include <boost/thread/thread.hpp>
     50#include <boost/thread/recursive_mutex.hpp>
    5051
    5152#include "PacketBuffer.h"
     
    116117
    117118    boost::thread *receiverThread_;
     119    static boost::recursive_mutex enet_mutex_;
    118120//     int getNumberOfClients();
    119121    //functions to map what object every clients uses
Note: See TracChangeset for help on using the changeset viewer.