Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'forgive': 0.05; 'everyone!': 0.07; 'subject:Questions': 0.07; 'python': 0.11; 'layery': 0.16; 'subject:GIL': 0.16; 'hey': 0.18; 'code,': 0.22; 'source': 0.25; 'first,': 0.26; 'message-id:@mail.gmail.com': 0.30; 'second,': 0.31; 'subject:About': 0.31; 'thanks!': 0.32; 'core': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'to:addr :python-list': 0.38; 'bad': 0.39; 'to:addr:python.org': 0.39; 'different': 0.65; 'between': 0.67; 'bottom': 0.67; 'quicker': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=mnlgP7My+6dailQMTprtk4LEP2gj/inhBthcRkA7x+Y=; b=N+oynSXWA3JjECk/HvOHwSQCqdQJmHckO/rtpytifo1kCzi2HoPxiAWF7uEDAe8VZY ty+a9tuVKtYQIiIwUFy3ovMMstq5my/8HI4YaOPE3SNMflAtQEcu+4DojOEvVMhPFxGi M04zz0KvzE2mv+S+r4ssZxKvf05kc1ehEP7YkBMgOAR3JkvBB8Q1CWJD87iLiBNCFsHm VS6Z5ehGWOfQO6wfg/TIgIb0GcPBWYJgxHFC3UoZ7zonvAcZYsZmJzW7RGPsVh7gdeUM 66G44mj75aiiV7kCzbA9SCZMhHZQkzu1iWdgD4ZcDYTFhpmvfw3X+CWypklTIOVjMGRo 6hQw== MIME-Version: 1.0 X-Received: by 10.194.82.193 with SMTP id k1mr4278265wjy.21.1371701627867; Wed, 19 Jun 2013 21:13:47 -0700 (PDT) Date: Thu, 20 Jun 2013 12:13:47 +0800 Subject: About GIL Questions! From: Thanatos xiao To: python-list@python.org Content-Type: multipart/alternative; boundary=047d7bb04a62445ace04df8e2cfe X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371701629 news.xs4all.nl 15914 [2001:888:2000:d::a6]:46563 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48772 --047d7bb04a62445ace04df8e2cfe Content-Type: text/plain; charset=ISO-8859-1 Hey everyone! Recently I see the python source code, but i still not understand about gil. first, why single core quicker multi-core ? who can explan this in bottom layery ? second, what the different between the mult-core and the single core to schecule threads? thanks! Forgive me bad english! --047d7bb04a62445ace04df8e2cfe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hey everyone!
Recently I= see the python source code, but i still not understand about gil.
first, why single core quicker multi-core ? who can explan this in bottom = layery ?
second, what the different between the mult-core=A0 and the single co= re to schecule threads?

thanks!
Forgive me bad engli= sh!
--047d7bb04a62445ace04df8e2cfe--