no, we can iterate all processes through proc/xxx and call getppid to
decide whether to kill it.

On Mon, Jan 16, 2023 at 9:48 PM Gregory Nutt <spudan...@gmail.com> wrote:

>  > But nuttx doesn't support task sesion/group yet, so the simple
> solution is extend kill command instead.
>
> Wouldn't you have to introduce a non-standard interface behavior to
> that? I would think you would want to avoid that.
>
>  > In fact, I was citing threads, but all children were tasks created
> this way:
>  >
>  > ret = task_create("child1_daemon", 100, 4096, child1_daemon, NULL);
>  >
>  > I will change it to pthread and I think it will work with those
> suggestions you guys gave me.
>
> Yes, if that does not work then it would be a bug.
>

Reply via email to