Re: main thread pthread_exit/sys_exit bug!

From: Oleg Nesterov
Date: Mon Feb 02 2009 - 01:47:43 EST


Kaz Kylheku wrote:
>
> Basically, if you call pthread_exit from the main thread of a process, and keep
> other threads running, the behavior is ugly.

Yes, known problem.

Please look at

[RFC,PATCH 3/3] do_wait: fix waiting for stopped group with dead leader
http://marc.info/?t=119713920000003

I'll try to re-do and re-send this patch this week.

Oleg.

--
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/