This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: linux threads, the manager.


On Tue, 30 Oct 2001, Monserrat Seisdedos Nuņez wrote:

> Hello everybody:
> 
> I have a multithread program, and when i kill the thread manager( the 2nd
> created, and the parent of the 3 threads i generate) it become defunct and
> the 3 threads get init as parent.

So? Don't do that.

> I know the manager is waiting the threads to die so until i kill each thread
> i can't termitate with the manager.
> I would like every threads to die when i kill whatever thread in the group. 

Redesign LinuxThreads.

Killing every thread when one of them dies is the manager's job. If the
manager is gone, then that job won't be done.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]