From: Euan M. <lu...@co...> - 2002-10-28 17:17:12
|
On 28 Oct 2002, at 17:32, Miguel Angel Blanch Lardin wrote: > >Hm.. now what does this mean for us? > > > >Please convert this into a design concept for the Arianne threading / > >network code so we know what needs changing, and please write some > >example code that shows how you would do it inside Arianne. Some > >questions I need answered is: > > > >1. Is it better than the current code > >2. Will it actually work in code and does it fit with the current > >Arianne code > >3. Can you get it to compile inside Arianne > > Well, I pointed this with my redesign and none cares... Of the 29 contributors now on the project, only 2 or three were coders involved on the project when this design decision was last discussed. Perhaps no-one cared then - although both Skyflash and you seem to have cared - but that is /not/ the same as saying no-one cares now. > Arianne actually use around 7 threads that are really too much. > I redesigned to use only 2 threads ( one network and one game ) and after a > few tune ups and after a prototype I set the number of threads on: > - N Thread (Net Read) > - 1 Thread (Net Write) > - 1 Thread (Game Messages) > - 1 Thread (Game Engine) > > Which means that on the simplest case we would have 4 threads. > > Reply: > 1. Yes > 2. Not at all, major recode needed. > 3. No This seems a reasonable high-level design to me - but I am not a coder in C++. Does anyone have any reasons to approach it differently, or suggested alternative approaches? Cheers, Euan xlucid@users(.remove this).sf.(antispam.)net |