Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
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
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • zhul
  • criu
  • Repository

Switch branch/tag
  • criu
  • test
  • zdtm
  • static
  • remap_dead_pid.c
Find file
BlameHistoryPermalink
  • Vitaly Ostrosablin's avatar
    test: remap_dead_pid.c: Fix child PID not being printed · 9152dd21
    Vitaly Ostrosablin authored Jul 20, 2017
    There's two issues with this code:
    
    1. Child task is killed by parent faster, than it could print the line.
    2. Even if it had time to print it - there would always be 0, because
    it's called from child process.
    
    Obviously, this print was meant to be in parent process. So, let's move
    it there.
    Signed-off-by: 's avatarVitaly Ostrosablin <vostrosablin@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    9152dd21
remap_dead_pid.c 1.37 KB
EditWeb IDE

Replace remap_dead_pid.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.