From owner-freebsd-arch@FreeBSD.ORG Fri Mar 28 03:20:48 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24F1537B401; Fri, 28 Mar 2003 03:20:47 -0800 (PST) Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E96743F3F; Fri, 28 Mar 2003 03:20:44 -0800 (PST) (envelope-from dcs@tcoip.com.br) Received: from tcoip.com.br ([10.0.2.6]) by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id h2SBKf906269; Fri, 28 Mar 2003 08:20:41 -0300 Message-ID: <3E843009.2060104@tcoip.com.br> Date: Fri, 28 Mar 2003 08:20:41 -0300 From: "Daniel C. Sobral" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030326 X-Accept-Language: en-us, en, pt-br, ja MIME-Version: 1.0 To: David Xu References: <20030327143259.I64602-100000@mail.chesapeake.net> <005201c2f4c8$517da320$f001a8c0@davidw2k> In-Reply-To: <005201c2f4c8$517da320$f001a8c0@davidw2k> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-28.6 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: arch@freebsd.org cc: Scott Long Subject: Re: 1:1 threading. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2003 11:20:49 -0000 David Xu wrote: > > do you think that a multithreaded process should use more CPU time then > a single thread process, so threaded process should have higher priority > and block other single thread processes out? AFAIK, threading is not > designed for this, you may misunderstand what threading is designed for. Threading might not have been originally designed for this, but a lot of people use it this way, a lot of people *want* it this way, and POSIX specifically mandates that this way be available. So let's drop that issue, please. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca TCO Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net After an instrument has been assembled, extra components will be found on the bench.