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
d3928317
Commit
d3928317
authored
Apr 04, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increment suspend count before attempting attach in suspend_for_ptrace.
parent
ef88637f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ptrace.c
server/ptrace.c
+5
-5
No files found.
server/ptrace.c
View file @
d3928317
...
...
@@ -166,12 +166,12 @@ int suspend_for_ptrace( struct thread *thread )
suspend_thread
(
thread
,
0
);
return
1
;
}
if
(
attach_thread
(
thread
))
{
/* the attach will have suspended it */
/* can't stop a thread while initialisation is in progress */
if
(
!
thread
->
unix_pid
||
thread
->
process
->
init_event
)
goto
error
;
thread
->
suspend
++
;
return
1
;
}
if
(
attach_thread
(
thread
))
return
1
;
thread
->
suspend
--
;
error:
set_error
(
STATUS_ACCESS_DENIED
);
return
0
;
}
...
...
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