Testing for validity of task_struct ptr

B. James Phillippe (bryan@terran.org)
Fri, 16 Jul 1999 11:35:15 -0700 (PDT)


Greetings,

If I am to cache a pointer to current, say, at some stage of my driver
(after a kernel_thread, for instance), and then at a later time want to
check to see if that process still exists before I do something like modify
it, is there a way short of locking and walking the task list?

This is in 2.2.

thanks,
-bp

--
# bryan at terran dot org
# http://www.terran.org/~bryan

- 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/