Date: Wed, 7 Jul 2004 17:37:25 +0200 From: Maxime Henrion <mux@freebsd.org> To: Vladimir Dyuzhev <vladimir-dozen@sympatico.ca> Cc: freebsd-current@freebsd.org Subject: Re: Rewrite cvsup & portupgrade in C Message-ID: <20040707153725.GH82302@elvis.mu.org> In-Reply-To: <40EC17DC.9020307@sympatico.ca> References: <E1Bhd1M-000KEo-Nz@smp500.sitetronics.com> <200407062323.02854.kirk@strauser.com> <20040707043251.GA35651@troutmask.apl.washington.edu> <200407062345.24117.kirk@strauser.com> <20040707070012.GC38356@dragon.nuxi.com> <40EC11EB.4060804@sympatico.ca> <20040707152149.GG82302@elvis.mu.org> <40EC17DC.9020307@sympatico.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Dyuzhev wrote: > ehlo. > > >> CVSup is a single threaded non-GUI app. > > >I suggest you check your facts before posting. CVSup is inherently > >multi-threaded and it has a GUI. > > I know that it has GUI (for some unknown to me reason). I never > installed the GUI version though (and never seen it). I can't even > find a reason to do so. So the GUI in CVSup is something artificial. Yes, the GUI in CVSup isn't of much use. It's even stated in the manual page. Csup won't support a GUI (or at least I won't write one). > Multithreadness in CVSup... well, as any "downloader" it could > be done multithreaded (and by your words CVSup is done that way), > and it can provide some gain, but it's not a must-be. > > So, I referred not to the way the CVSup *was* implemented, but to > what language features are *enough* to implement it. It _is_ a must-be. Please go take a look at the CVSup webpage and click on the "Why is CVSup so fast?" link. CVSup is far more than a "downloader" and the way it is designed makes it inherently multi-threaded. It's of course theoritically possible to write it single-threaded but it would be a real nightmare, and it would also be rather stupid IMO. Maxime
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040707153725.GH82302>