Path: utzoo!attcan!uunet!husc6!rutgers!bellcore!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.unix.wizards Subject: Re: What kinds of things would you want in the GNU OS? Message-ID: <4379@ficc.uu.net> Date: 1 Jun 89 20:49:53 GMT References: <19835@adm.BRL.MIL> Organization: Xenix Support Lines: 16 In article <19835@adm.BRL.MIL>, rbj@dsys.ncsl.nist.gov (Root Boy Jim) writes: > BTW, I agree with you that threads need not duplicate the stack. > It doesn't seem to make much sense what happens when a thread > returns/exits. However, I would rather see the kernel/library > push the address of thread_exit on the stack. Eliminates one argument. What if you want to do more stuff in your cleanup routine? This routine would also be called if the thread called exit(). Actually, I'd like to be able to pass more stuff to thread(), such as maybe a mask of resources to be shared...? -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: uunet.uu.net!ficc!peter, peter@ficc.uu.net, +1 713 274 5180. Personal: ...!texbell!sugar!peter, peter@sugar.hackercorp.com.