Re: [Algorithms] General purpose task parallel threading approach
Brought to you by:
vexxed72
|
From: <asy...@gm...> - 2009-04-06 05:37:55
|
How is your dependency system is supposed to work then ? You also mean that inside a task you can't wait for other tasks to finish (because it becomes a 'blocking within tasks') ? That's a really huge limitation imho. Alexander. 2009/4/5 Jarkko Lempiainen <al...@gm...> > Why is it a problem to execute the tasks in recursive way? Note that this > recursive way of executing tasks is used only when blocking within tasks, > not in the job queue dependency system. > > > > > > Cheers, Jarkko > > > ------------------------------ > > *From:* asy...@gm... [mailto:asy...@gm...] > *Sent:* Sunday, April 05, 2009 8:34 PM > *To:* Game Development Algorithms > *Subject:* Re: [Algorithms] General purpose task parallel threading > approach > > > > Without the ability to save/restore tasks your dependency system will have > a big bunch of limitations, because you can only execute tasks during a wait > in a recursive way ONLY. > > 2009/4/5 Jarkko Lempiainen <al...@gm...> > > You could also not have a wait for dependent tasks within a task, but > rather have job queue dependency system to take care of it by splitting the > function in two tasks. Or you could implement the wait by pulling tasks from > the job queue until the dependent tasks have been completed. There is no > context switches needed in either case though. > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > -- Regards, Alexander Karnakov |