/** SGX

The   sss    gggg x   x   
     s      g      x x    Engine
      sss   g  gg   x
         s  g   g  x x          Copyright 1995-2008.
     ssss    gggg x   x         Steven Goodwin. All Rights Reserved.
    
This version has been released under the GNU Public License v2.0.

Please see the license files for details.

File: src/sgx/core/threading/threadmanager.cpp

*/

#include "sgx/core/core.hpp"

CThreadManager *CThreadManager::ms_pSingleton = NULL;

CThreadManager *CThreadManager::get()
{
	// NOTE: We do not construct a CThreadManager obj since this is an
	// abstract class.
	sgxAssert(ms_pSingleton && "Have you called get() on a specific CThreadManager driver?");
	return ms_pSingleton;            
}
