Re: [PATCH 1/2] kthread_create

Rusty Russell
2004-01-05T06:41:20Z

In message <Pine.LNX.4.44.0401042100510.15831-100000@bigblue.dev.mdolabs.com> 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.