lkml.org 
[lkml]   [2008]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectvalid task structure and wake_up_process
How do I check whether a task is valid before calling wake_up_process() with
that task structure pointer?
I could call wake_up_process with a task structure that is corrupt or incorrect
and that could cause a system crash, so I wanted to do a sanity check of
the task structure.

I do not subscribe to this list, so please copy me you responses.

Regards,

Shirish


\
 
 \ /
  Last update: 2008-04-14 20:39    [W:0.043 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site