Re: [PATCH 1/2] kthread_create

From: Rusty Russell
Date: Mon Jan 05 2004 - 01:53:51 EST


In message <Pine.LNX.4.44.0401042100510.15831-100000@xxxxxxxxxxxxxxxxxxxxxxx> you write:
> Honestly I do not like playing with SIGCLD/waitpid for things that do not
> concern real task exits.

Well, it's pretty well documented.

> But I think it can be avoided, and actually I
> don't know why I did not think about this before. We don't need to return
> a struct task_struct* for kthread_create(). We can have:
>
> struct kthread_struct {

Nope. That's EXACTLY the kind of burden on the caller I wanted to
avoid if at all possible.

I just have decide whether to submit the wait one or the shared queue
one to Andrew....

Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/