ThreadTest.cpp File Reference

Tests multiple readers and writers on the same instance of RakPeer. Define _RAKNET_THREADSAFE in RakNetDefines.h before running this. More...

#include "RakPeerInterface.h"
#include "RakNetworkFactory.h"
#include "GetTime.h"
#include "RakNetStatistics.h"
#include "PacketEnumerations.h"
#include <conio.h>
#include <stdio.h>
#include <windows.h>
#include <process.h>

Functions

unsigned __stdcall ProducerThread (LPVOID arguments)
unsigned __stdcall ConsumerThread (LPVOID arguments)
void main (void)

Variables

RakPeerInterfacepeer1
RakPeerInterfacepeer2
bool endThreads


Detailed Description

Tests multiple readers and writers on the same instance of RakPeer. Define _RAKNET_THREADSAFE in RakNetDefines.h before running this.

This file is part of RakNet Copyright 2003 Kevin Jenkins.

Usage of RakNet is subject to the appropriate license agreement. Creative Commons Licensees are subject to the license found at http://creativecommons.org/licenses/by-nc/2.5/ Single application licensees are subject to the license found at http://www.rakkarsoft.com/SingleApplicationLicense.html Custom license users are subject to the terms therein. GPL license users are subject to the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.


Generated on Sat Oct 14 08:37:37 2006 for RakNet by  doxygen 1.4.6-NO