sourcemod/extensions/threader/extension.cpp
David Anderson efe93fa470 initial import of threading extension
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40327
2007-01-19 04:35:56 +00:00

15 lines
271 B
C++

#include "extension.h"
#include "thread/ThreadSupport.h"
Sample g_Sample;
MainThreader g_Threader;
SMEXT_LINK(&g_Sample);
bool Sample::SDK_OnLoad(char *error, size_t err_max, bool late)
{
g_pShareSys->AddInterface(myself, &g_Threader);
return true;
}