From 5fe0b9ca3ca6a7ca1ed57c73f16ba2496c41dfc4 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 8 Dec 2006 19:48:14 +0000 Subject: [PATCH] TASK_DEAD fix for 2.6.19 git-svn-id: http://ltt.polymtl.ca/svn@2301 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index b4e5efe3..cf7b0b00 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -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 */ } } -- 2.34.1