Re: System or kernel context

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Wed, 28 Oct 1998 18:46:20 +0100


Hi!

> Could anybody tell me how to decide if a kernel "thread of execution" is
> running in a process or system context?
>
> I need a process context in order to do some delays/waiting (in a good
> way), and I currently send a nofification to a user-space manager
> (that I

Why do not just use current->timeout (now obsolete but easy to use) or
add_timer() and friends to do this delays/waiting?

Pavel

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/