Revert to legacy Windows behavior since Windows 10 allows CreateThread in Universal apps

This commit is contained in:
Cameron Gutman 2015-06-30 23:24:49 -07:00
commit 25612824ca
8 changed files with 64 additions and 141 deletions

View file

@ -10,14 +10,12 @@ struct thread_context {
void* context;
};
#if defined(LC_WINDOWS) || defined(LC_WINDOWS_PHONE)
#if defined(LC_WINDOWS)
typedef struct _PLT_THREAD {
HANDLE handle;
int cancelled;
DWORD tid;
HANDLE termRequested;
HANDLE termCompleted;
struct thread_context *ctx;
struct _PLT_THREAD *next;
} PLT_THREAD;