peter@sugar.hackercorp.com (Peter da Silva) (05/22/89)
Actually the best way to go from here with task creation is to: (a) Support lightweight tasks (threads), and (b) Have some way to specify which resources are shared by threads (c) Make exec() promote a thread to full task status. Thus the UNIX fork() becomes a create_thread(SHARE_FDS|SHARE_SIGNALS). Forkv() is create_thread(SHARE_FDS|SHARE_SIGNALS|SHARE_MEMORY). Really, forkv() is an unnecessary kludge (copy_on_write forks solve the same problem with less overhead), but what the hell... Anyway, this way everyone's happy... -- Peter "Have you hugged your wolf today" da Silva `-_-' ...texbell!sugar!peter, or peter@sugar.hackercorp.com 'U`