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
261691fa
Commit
261691fa
authored
Aug 23, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Use ntdll values where possible.
parent
b346d0f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
thread.c
server/thread.c
+3
-3
No files found.
server/thread.c
View file @
261691fa
...
@@ -140,7 +140,7 @@ inline static void init_thread_structure( struct thread *thread )
...
@@ -140,7 +140,7 @@ inline static void init_thread_structure( struct thread *thread )
thread
->
wait_fd
=
NULL
;
thread
->
wait_fd
=
NULL
;
thread
->
state
=
RUNNING
;
thread
->
state
=
RUNNING
;
thread
->
exit_code
=
0
;
thread
->
exit_code
=
0
;
thread
->
priority
=
THREAD_PRIORITY_NORMAL
;
thread
->
priority
=
0
;
thread
->
affinity
=
1
;
thread
->
affinity
=
1
;
thread
->
suspend
=
0
;
thread
->
suspend
=
0
;
thread
->
desktop_users
=
0
;
thread
->
desktop_users
=
0
;
...
@@ -764,7 +764,7 @@ void break_thread( struct thread *thread )
...
@@ -764,7 +764,7 @@ void break_thread( struct thread *thread )
assert
(
thread
->
context
);
assert
(
thread
->
context
);
data
.
record
.
ExceptionCode
=
EXCEPTION
_BREAKPOINT
;
data
.
record
.
ExceptionCode
=
STATUS
_BREAKPOINT
;
data
.
record
.
ExceptionFlags
=
EXCEPTION_CONTINUABLE
;
data
.
record
.
ExceptionFlags
=
EXCEPTION_CONTINUABLE
;
data
.
record
.
ExceptionRecord
=
NULL
;
data
.
record
.
ExceptionRecord
=
NULL
;
data
.
record
.
ExceptionAddress
=
get_context_ip
(
thread
->
context
);
data
.
record
.
ExceptionAddress
=
get_context_ip
(
thread
->
context
);
...
@@ -945,7 +945,7 @@ DECL_HANDLER(get_thread_info)
...
@@ -945,7 +945,7 @@ DECL_HANDLER(get_thread_info)
reply
->
pid
=
get_process_id
(
thread
->
process
);
reply
->
pid
=
get_process_id
(
thread
->
process
);
reply
->
tid
=
get_thread_id
(
thread
);
reply
->
tid
=
get_thread_id
(
thread
);
reply
->
teb
=
thread
->
teb
;
reply
->
teb
=
thread
->
teb
;
reply
->
exit_code
=
(
thread
->
state
==
TERMINATED
)
?
thread
->
exit_code
:
ST
ILL_ACTIVE
;
reply
->
exit_code
=
(
thread
->
state
==
TERMINATED
)
?
thread
->
exit_code
:
ST
ATUS_PENDING
;
reply
->
priority
=
thread
->
priority
;
reply
->
priority
=
thread
->
priority
;
reply
->
affinity
=
thread
->
affinity
;
reply
->
affinity
=
thread
->
affinity
;
reply
->
creation_time
.
sec
=
thread
->
creation_time
.
tv_sec
;
reply
->
creation_time
.
sec
=
thread
->
creation_time
.
tv_sec
;
...
...
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