Initial pass on renaming project code to lime

This commit is contained in:
Joshua Granick
2013-11-27 18:05:59 -08:00
parent 00407203fa
commit b2da64c536
177 changed files with 1902 additions and 1900 deletions

View File

@@ -0,0 +1,32 @@
#ifndef LIME_THREAD_H
#define LIME_THREAD_H
#ifndef HX_WINDOWS
#ifndef EPPC
#include <pthread.h>
#endif
#else
#include <windows.h>
#undef min
#undef max
#endif
namespace lime
{
#ifndef HX_WINDOWS
#ifdef EPPC
typedef int ThreadId;
#else
typedef pthread_t ThreadId;
#endif
#else
typedef DWORD ThreadId;
#endif
ThreadId GetThreadId();
bool IsMainThread();
void SetMainThread();
}
#endif