[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <d0bd1c10610170318x5dac0620l8842c43430ac33b@mail.gmail.com>
Date: Tue, 17 Oct 2006 18:18:25 +0800
From: "Kay Tiong Khoo" <kaytiong@...il.com>
To: linux-kernel@...r.kernel.org
Subject: stopping a process during a timer interrupt
On a timer interrupt, I tried to stop the current process by changing
it's run state to TASK_STOPPED via set_current_state(TASK_STOPPED).
However, this results in a system hang.
I can't find a way to stop the current process during an interrupt
context. Does such code exist in the kernel? If not, how does one go
about implementing it from within a kernel module.
Thanks.
Kay Tiong
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists