Shadowrun: Awakened 29 September 2011 - Build 871
Functions
main.cpp File Reference
#include "ChatServer.h"
#include "tbb.h"
#include "tbb_thread.h"
Include dependency graph for ChatServer/main.cpp:

Go to the source code of this file.

Functions

int main ()

Function Documentation

int main ( )

Definition at line 29 of file ChatServer/main.cpp.

References SraNetwork::ChatServer::ClientConnectionThread(), and SraNetwork::ChatServer::ServerConnectionThread().

{
    tbb::tbb_thread clientThread( &SraNetwork::ChatServer::ClientConnectionThread );
    tbb::tbb_thread serverThread( &SraNetwork::ChatServer::ServerConnectionThread );
    clientThread.join();
    serverThread.join();

    return 0;
}

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net