TASK_DEAD fix for 2.6.19
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 8 Dec 2006 19:48:14 +0000 (19:48 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 8 Dec 2006 19:48:14 +0000 (19:48 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2301 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/state.c

index b4e5efe3d7218e1fe08d33f0076d03e822e74d29..cf7b0b00fe5f4e93447376f2408f98fddf4a0206 100644 (file)
@@ -2165,8 +2165,8 @@ static gboolean schedchange(void *hook_data, void *call_data)
         process->state->change = s->parent.timestamp;
       }
       
-      if(state_out == 32)
-         exit_process(s, process); /* EXIT_DEAD */
+      if(state_out == 32 || state_out == 128)
+         exit_process(s, process); /* EXIT_DEAD || TASK_DEAD */
             /* see sched.h for states */
     }
   }
This page took 0.025595 seconds and 4 git commands to generate.