2010-08-11 15:23:10 +02:00
|
|
|
// ***************************************************************************
|
|
|
|
|
//
|
|
|
|
|
// Reality - The Matrix Online Server Emulator
|
2009-08-11 12:17:38 +00:00
|
|
|
// Copyright (C) 2006-2010 Rajko Stojadinovic
|
2010-08-11 15:23:10 +02:00
|
|
|
// http://mxoemu.info
|
2009-08-11 12:17:38 +00:00
|
|
|
//
|
2010-08-11 15:23:10 +02:00
|
|
|
// ---------------------------------------------------------------------------
|
2009-08-11 12:17:38 +00:00
|
|
|
//
|
2010-08-11 15:23:10 +02:00
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU Affero General Public License as
|
|
|
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
|
|
|
// License, or (at your option) any later version.
|
2009-08-11 12:17:38 +00:00
|
|
|
//
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2010-08-11 15:23:10 +02:00
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
// GNU Affero General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2009-08-11 12:17:38 +00:00
|
|
|
//
|
2010-08-11 15:23:10 +02:00
|
|
|
// ---------------------------------------------------------------------------
|
2009-08-11 12:17:38 +00:00
|
|
|
//
|
2010-08-11 15:23:10 +02:00
|
|
|
// ***************************************************************************
|
2009-08-11 12:17:38 +00:00
|
|
|
|
|
|
|
|
#ifndef MXOSIM_THREADING_H
|
|
|
|
|
#define MXOSIM_THREADING_H
|
|
|
|
|
|
|
|
|
|
// We need assertions.
|
|
|
|
|
#include "../Errors.h"
|
|
|
|
|
|
|
|
|
|
// Platform Specific Lock Implementation
|
|
|
|
|
#include "NativeMutex.h"
|
|
|
|
|
|
|
|
|
|
// Platform Independant Guard
|
|
|
|
|
#include "Guard.h"
|
|
|
|
|
|
|
|
|
|
// Platform Specific Thread Starter
|
|
|
|
|
#include "ThreadStarter.h"
|
|
|
|
|
|
|
|
|
|
// Platform independant locked queue
|
|
|
|
|
#include "LockedQueue.h"
|
|
|
|
|
|
|
|
|
|
// Thread Pool
|
|
|
|
|
#include "ThreadPool.h"
|
|
|
|
|
|
|
|
|
|
#endif
|