Revert to legacy Windows behavior since Windows 10 allows CreateThread in Universal apps
This commit is contained in:
parent
7814cb3fae
commit
25612824ca
8 changed files with 64 additions and 141 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue