| commit | 4cf15118eb81bd6a7c41107804dde1539df6b4b7 | [log] [tgz] |
|---|---|---|
| author | Ulrich Weigand <weigand@informatik.uni-erlangen.de> | Sat Mar 27 16:19:00 1999 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Sat Mar 27 16:19:00 1999 +0000 |
| tree | 5d7db88d2692dbf8a8ffc71f693a38088cc69d50 | |
| parent | 293dbdb324fb53336ef4b790455de1c0fc8c436c [diff] |
All threads created with CreateThread are 32-bit threads.
diff --git a/scheduler/thread.c b/scheduler/thread.c index 49d3eec..b9c6ee2 100644 --- a/scheduler/thread.c +++ b/scheduler/thread.c
@@ -297,6 +297,7 @@ int handle = -1; THDB *thread = THREAD_Create( PROCESS_Current(), flags, stack, TRUE, sa, &handle ); if (!thread) return INVALID_HANDLE_VALUE; + thread->teb.flags |= TEBF_WIN32; thread->entry_point = start; thread->entry_arg = param; thread->startup = THREAD_Start;