We can always use current->next_task to traverse the linked
list of all tasks, but this appears as a hack to me. The
problem with find_task_by_pid() is that it is inline, great
for efficiency, uncompileable in a module since htable isn't
exported.
Is this really the situation?
Sam
Sam Roberts wrote:
>
> Trying to use find_task_by_pid(), but pidhash is not linkable
> by a loadable module. Is this a bug, or should I find a
> task structure some other way?
>
> (I want to send a signal to a pid from within my module, by the way)
>
> Sam
>
> -
> 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/
-
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/