Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 11, 2007, 5:11:36 PM (16 years ago)
Author:
scheusso
Message:

created a dummyserver and dummyclient in order to test ConnectionManager and PacketBuffer with enet and boost_thread\n Makefile is used to build server and client

File:
1 edited

Legend:

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

    r188 r196  
    1919#include <boost/bind.hpp>
    2020#include <boost/thread/mutex.hpp>
    21 #include <boost/thread/mutex.hpp>
    2221
    23 //this is needed in order to make the packetbuffer threadsafe
    24 boost::mutex networkPacketBufferMutex;
    2522
    2623namespace network{
     24
    2725
    2826struct PacketEnvelope{
     
    4745  // pushs a packet to the queue
    4846  bool push(ENetPacket *pck);
     47 
    4948private:
    5049  QueueItem *first;
     
    5251  bool closed;
    5352 
    54   //make it threadsafe
    55 //   boost::mutex mutex;
    5653};
    5754
Note: See TracChangeset for help on using the changeset viewer.