Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
a37cf7a4
Commit
a37cf7a4
authored
Dec 19, 2013
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
seize: Add some comments about unseizing task
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
9cec289f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
cr-dump.c
cr-dump.c
+5
-0
No files found.
cr-dump.c
View file @
a37cf7a4
...
@@ -789,6 +789,11 @@ static void unseize_task_and_threads(const struct pstree_item *item, int st)
...
@@ -789,6 +789,11 @@ static void unseize_task_and_threads(const struct pstree_item *item, int st)
if
(
item
->
state
==
TASK_DEAD
)
if
(
item
->
state
==
TASK_DEAD
)
return
;
return
;
/*
* The st is the state we want to switch tasks into,
* the item->state is the state task was in when we seized one.
*/
if
(
st
==
TASK_ALIVE
)
if
(
st
==
TASK_ALIVE
)
unseize_task
(
item
->
pid
.
real
,
item
->
state
);
unseize_task
(
item
->
pid
.
real
,
item
->
state
);
else
else
...
...
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