From owner-freebsd-current@FreeBSD.ORG Wed Jul 7 15:37:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C09E16A4CE for ; Wed, 7 Jul 2004 15:37:25 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B1BD43D2F for ; Wed, 7 Jul 2004 15:37:25 +0000 (GMT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 65EA25C837; Wed, 7 Jul 2004 08:37:25 -0700 (PDT) Date: Wed, 7 Jul 2004 17:37:25 +0200 From: Maxime Henrion To: Vladimir Dyuzhev Message-ID: <20040707153725.GH82302@elvis.mu.org> References: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40EC17DC.9020307@sympatico.ca> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org Subject: Re: Rewrite cvsup & portupgrade in C X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 15:37:25 -0000 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