What kinds of things would you want in the GNU OS?

Peter da Silva peter at ficc.uu.net
Fri Jun 2 06:49:53 AEST 1989


In article <19835 at adm.BRL.MIL>, rbj at 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 at ficc.uu.net, +1 713 274 5180.
Personal: ...!texbell!sugar!peter, peter at sugar.hackercorp.com.



More information about the Comp.unix.wizards mailing list