Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ca1c7475
Commit
ca1c7475
authored
Nov 24, 1998
by
Ulrich Weigand
Committed by
Alexandre Julliard
Nov 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix: Set the TEBF_WIN32 flag in teb.flags for 32-bit threads.
parent
6529aa76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
thread.h
include/thread.h
+4
-0
thread.c
scheduler/thread.c
+1
-0
No files found.
include/thread.h
View file @
ca1c7475
...
...
@@ -53,6 +53,10 @@ typedef struct _TEB
struct
_PDB32
*
process
;
/* 30 owning process (used by NT3.51 applets)*/
}
TEB
;
/* Thread exception flags */
#define TEBF_WIN32 0x0001
#define TEBF_TRAP 0x0002
/* Event waiting structure */
typedef
struct
{
...
...
scheduler/thread.c
View file @
ca1c7475
...
...
@@ -182,6 +182,7 @@ THDB *THREAD_Create( PDB32 *pdb, DWORD stack_size, BOOL32 alloc_stack16,
thdb
->
teb
.
except
=
(
void
*
)
-
1
;
thdb
->
teb
.
htask16
=
0
;
/* FIXME */
thdb
->
teb
.
self
=
&
thdb
->
teb
;
thdb
->
teb
.
flags
=
(
pdb
->
flags
&
PDB32_WIN16_PROC
)
?
0
:
TEBF_WIN32
;
thdb
->
teb
.
tls_ptr
=
thdb
->
tls_array
;
thdb
->
teb
.
process
=
pdb
;
thdb
->
wait_list
=
&
thdb
->
wait_struct
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment