Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion about firefox network/socket thread model

Received: by 10.66.88.200 with SMTP id bi8mr1550484pab.27.1349370313815;
        Thu, 04 Oct 2012 10:05:13 -0700 (PDT)
Path: t10ni23612723pbh.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.mozilla.org!news.mozilla.org.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 04 Oct 2012 12:05:13 -0500
Return-Path: <zs68j...@gmail.com>
X-Original-To: dev-extensi...@lists.mozilla.org
Delivered-To: dev-extensi...@lists.mozilla.org
X-Virus-Scanned: amavisd-new at mozilla.org
Authentication-Results: mailman2.mail.corp.phx1.mozilla.com (amavisd-new);
	dkim=pass header...@gmail.com
Received-SPF: pass (gmail.com ... _spf.google.com: 209.85.220.178 is
	authorized to use 'zs68j...@gmail.com' in 'mfrom' identity
	(mechanism 'ip4:209.85.128.0/17' matched))
	receiver=mailman2.mail.corp.phx1.mozilla.com; identity=mailfrom;
	envelope-from="zs68j...@gmail.com";
	helo=mail-vc0-f178.google.com; client-ip=209.85.220.178
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:content-type; bh=7u0tSo/UhV9R1Js8iiDeJX0wzTr3EKDn3VjJPgdJetk=;
	b=k9lqLrei4T73WqfdU2sh1WMpD/Bh88LV6+cKHoTM0A3wSAT7gfrZ0XBT990XRFXiDZ
	CpKAS9Ma12UEsrxdZGVrg1sA8Sxbp1WlLdkvF2XM2Uef3hyaG7kqUCaDD0zKizRghnnq
	rcDSU6pmeudbfN6WkIjlkaOJgCUW+DGRjGIqJznzRSWKrgKlZshK/AcGIiMgNGVn5NGK
	Ch93h5E1t1S3f5QI/xiovW8p2pxWCSaVjBpS1iR1881kFbKRq+JjxKNAj7wfayPpQ5/s
	96T7BktSBPT9DeG80/Whd2eim8+Bpq1wWF1y3dOvjK0o9G8DQvOg+JepksQCyu37aXOD
	Hk1g==
MIME-Version: 1.0
In-Reply-To: <CAEXHaur+D2zwAbzskorGfdn8DsoyRnbUs62ZHWEYReX7CU4P6g@mail.gmail.com>
References: <CAEXHaurmjWKxjvwonnoMZOrJ2gQOT4J8XFSsCSB8k1dRr52vmg@mail.gmail.com>
	<CAEXHaur+D2zwAbzskorGfdn8DsoyRnbUs62ZHWEYReX7CU4P6g@mail.gmail.com>
Date: Fri, 5 Oct 2012 01:05:10 +0800
Subject: about firefox network/socket thread model
From: tom <zs68j...@gmail.com>
To: dev-extensi...@lists.mozilla.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: dev-extensi...@lists.mozilla.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Development discussion about extensions for Mozilla products
	<dev-extensions.lists.mozilla.org>
List-Unsubscribe: <https://lists.mozilla.org/options/dev-extensions>,
	<mailto:dev-extensions-requ...@lists.mozilla.org?subject=unsubscribe>
List-Post: <mailto:dev-extensi...@lists.mozilla.org>
List-Help: <mailto:dev-extensions-requ...@lists.mozilla.org?subject=help>
List-Subscribe: <https://lists.mozilla.org/listinfo/dev-extensions>,
	<mailto:dev-extensions-requ...@lists.mozilla.org?subject=subscribe>
Newsgroups: mozilla.dev.extensions
Message-ID: <mailman.26552.1349370313.27472.dev-extensi...@lists.mozilla.org>
Lines: 10
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 63.245.216.66
X-AuthenticatedUsername: NoAuthUser
X-Trace: sv3-2FBFHJSc7gAm6M8/2M2RfFRbcQxHmPG1gJd9LpSvTp//scrkYo+96bDgTgUez5Sq2hitgPAglVeTUfg!IKflJNPyo+wALLTT8qfhvGzzXcZX85CukEUezFXijkNLEd9GoycoqiibLJVJCqgdpjUjX9FG4P1v!c37E96Ut4TfwMqtMdpBFdsjxoz1StMQcjUi27g==
X-Complaints-To: ab...@mozilla.org
X-DMCA-Complaints-To: ab...@mozilla.org
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 3582
X-Original-Bytes: 3521
Content-Type: text/plain; charset=UTF-8

What's about firefox's thread model in network socket layer?

it seems that When open a new http connection, firefox will create one new
tcp socket in network module and clone a thread to polling it.

And, How firefox multiplex underlay tcp socket? Or it use thread per
socket, or use OS select/poll/epoll mechanism?

best regards
  tom