[pypy-commit] pypy fast-gil: comment

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72206:ecc82fba4e83 Date: 2014-06-24 21:07 +0200 http://bitbucket.org/pypy/pypy/changeset/ecc82fba4e83/ Log:comment diff --git a/rpython/translator/c/src/thread_gil.c b/rpython/translator/c/src/thread_gil.c --- a/rpython/translator/c/src/thread

[pypy-commit] pypy fast-gil: typo

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72205:8195e6a2214c Date: 2014-06-24 21:01 +0200 http://bitbucket.org/pypy/pypy/changeset/8195e6a2214c/ Log:typo diff --git a/rpython/jit/backend/llsupport/assembler.py b/rpython/jit/backend/llsupport/assembler.py --- a/rpython/jit/backend/llsu

[pypy-commit] pypy fast-gil: On Windows, a "mutex" does too much by linking to which thread locked it. A "semaphore" doesn't.

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72204:c00cc7d1e7c8 Date: 2014-06-24 21:01 +0200 http://bitbucket.org/pypy/pypy/changeset/c00cc7d1e7c8/ Log:On Windows, a "mutex" does too much by linking to which thread locked it. A "semaphore" doesn't. diff --git a/rpython/translator/

[pypy-commit] pypy fast-gil: for clarify: we 'have the GIL' from there already

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72203:ff442cbc0012 Date: 2014-06-24 20:00 +0200 http://bitbucket.org/pypy/pypy/changeset/ff442cbc0012/ Log:for clarify: we 'have the GIL' from there already diff --git a/rpython/translator/c/src/thread_gil.c b/rpython/translator/c/src/thread_g

[pypy-commit] pypy fast-gil: For now, increase the active pinging from the stealing thread to every

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72202:447468c284c3 Date: 2014-06-24 19:50 +0200 http://bitbucket.org/pypy/pypy/changeset/447468c284c3/ Log:For now, increase the active pinging from the stealing thread to every 0.1 millisecond. diff --git a/rpython/translator/c/src/thr

[pypy-commit] pypy fast-gil: hg merge default

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72201:8ae7ad71f087 Date: 2014-06-24 19:41 +0200 http://bitbucket.org/pypy/pypy/changeset/8ae7ad71f087/ Log:hg merge default diff --git a/lib_pypy/cffi/api.py b/lib_pypy/cffi/api.py --- a/lib_pypy/cffi/api.py +++ b/lib_pypy/cffi/api.py @@ -443,6

[pypy-commit] pypy fast-gil: Mostly just update comments

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72199:8a1061fca743 Date: 2014-06-24 19:36 +0200 http://bitbucket.org/pypy/pypy/changeset/8a1061fca743/ Log:Mostly just update comments diff --git a/rpython/translator/c/src/thread_gil.c b/rpython/translator/c/src/thread_gil.c --- a/rpython/tra

[pypy-commit] pypy default: Kill old code lying around

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r72200:375133966c12 Date: 2014-06-24 19:37 +0200 http://bitbucket.org/pypy/pypy/changeset/375133966c12/ Log:Kill old code lying around diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py --- a/rpython/jit/backend/x8

[pypy-commit] pypy fast-gil: Move the GIL logic to a new thread_gil.c. Use simple names for the

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72198:50a199f1b79d Date: 2014-06-24 19:09 +0200 http://bitbucket.org/pypy/pypy/changeset/50a199f1b79d/ Log:Move the GIL logic to a new thread_gil.c. Use simple names for the basic operations and define these in thread_pthread and thread_

[pypy-commit] pypy fast-gil: More fixes

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72197:bbab1875b9e5 Date: 2014-06-24 18:04 +0200 http://bitbucket.org/pypy/pypy/changeset/bbab1875b9e5/ Log:More fixes diff --git a/pypy/module/thread/gil.py b/pypy/module/thread/gil.py --- a/pypy/module/thread/gil.py +++ b/pypy/module/thread/gi

[pypy-commit] pypy default: Update to cffi/c5b9bbf1e9cd

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r72196:431b98cb71fd Date: 2014-06-24 18:03 +0200 http://bitbucket.org/pypy/pypy/changeset/431b98cb71fd/ Log:Update to cffi/c5b9bbf1e9cd diff --git a/lib_pypy/cffi/api.py b/lib_pypy/cffi/api.py --- a/lib_pypy/cffi/api.py +++ b/lib_pypy/cffi/api.py @@ -44

[pypy-commit] cffi default: Avoid using ssize_t here

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1529:c5b9bbf1e9cd Date: 2014-06-24 17:52 +0200 http://bitbucket.org/cffi/cffi/changeset/c5b9bbf1e9cd/ Log:Avoid using ssize_t here diff --git a/cffi/vengine_gen.py b/cffi/vengine_gen.py --- a/cffi/vengine_gen.py +++ b/cffi/vengine_gen.py @@ -249,10 +24

[pypy-commit] cffi default: pom pom pom

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1528:16a95f861200 Date: 2014-06-24 17:43 +0200 http://bitbucket.org/cffi/cffi/changeset/16a95f861200/ Log:pom pom pom diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++ b/testing/test_verify.py @@ -172,8 +172,

[pypy-commit] cffi default: Generalize 105930aef686

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1527:4e1d020f98d1 Date: 2014-06-24 17:40 +0200 http://bitbucket.org/cffi/cffi/changeset/4e1d020f98d1/ Log:Generalize 105930aef686 diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++ b/testing/test_verify.py @@

[pypy-commit] cffi default: Don't check MS_WIN32, it's not always defined even on MSVC.

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1525:53be22eb427a Date: 2014-06-24 17:09 +0200 http://bitbucket.org/cffi/cffi/changeset/53be22eb427a/ Log:Don't check MS_WIN32, it's not always defined even on MSVC. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cf

[pypy-commit] cffi default: Skip "ssize_t" on Windows, where it is usually not defined anyway.

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1526:105930aef686 Date: 2014-06-24 17:35 +0200 http://bitbucket.org/cffi/cffi/changeset/105930aef686/ Log:Skip "ssize_t" on Windows, where it is usually not defined anyway. diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test

[pypy-commit] cffi default: Add stdint.h as an explicit include on non-Windows too.

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1524:447147331347 Date: 2014-06-24 16:59 +0200 http://bitbucket.org/cffi/cffi/changeset/447147331347/ Log:Add stdint.h as an explicit include on non-Windows too. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_b

[pypy-commit] cffi default: Unify (manually) the three blocks of #ifs for Windows. Add a comment

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1523:ab44531bdbe2 Date: 2014-06-24 16:52 +0200 http://bitbucket.org/cffi/cffi/changeset/ab44531bdbe2/ Log:Unify (manually) the three blocks of #ifs for Windows. Add a comment to attempt to keep them from drifting apart in the future. diff --git

[pypy-commit] pypy fast-gil: Fixes: must look in rpy_fastgil for the extra missing stack too

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72195:499ad6f94da1 Date: 2014-06-24 16:18 +0200 http://bitbucket.org/pypy/pypy/changeset/499ad6f94da1/ Log:Fixes: must look in rpy_fastgil for the extra missing stack too diff --git a/rpython/memory/gctransform/asmgcroot.py b/rpython/memory/gc

[pypy-commit] pypy fast-gil: Re-add MOVD32_xs, MOVD32_sx

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72193:3bd28cc2fcbb Date: 2014-06-24 14:51 +0200 http://bitbucket.org/pypy/pypy/changeset/3bd28cc2fcbb/ Log:Re-add MOVD32_xs, MOVD32_sx diff --git a/rpython/jit/backend/x86/callbuilder.py b/rpython/jit/backend/x86/callbuilder.py --- a/rpython/j

[pypy-commit] pypy fast-gil: translation fix

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72194:bda8c56bee80 Date: 2014-06-24 15:06 +0200 http://bitbucket.org/pypy/pypy/changeset/bda8c56bee80/ Log:translation fix diff --git a/rpython/translator/c/gcc/trackgcroot.py b/rpython/translator/c/gcc/trackgcroot.py --- a/rpython/translator/

[pypy-commit] pypy fast-gil: Fix typos

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72188:a8a8d8d6c823 Date: 2014-06-24 13:55 +0200 http://bitbucket.org/pypy/pypy/changeset/a8a8d8d6c823/ Log:Fix typos diff --git a/rpython/jit/backend/llsupport/assembler.py b/rpython/jit/backend/llsupport/assembler.py --- a/rpython/jit/backend

[pypy-commit] pypy fast-gil: Reduce the diff

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72190:00acabcd683c Date: 2014-06-24 14:22 +0200 http://bitbucket.org/pypy/pypy/changeset/00acabcd683c/ Log:Reduce the diff diff --git a/rpython/jit/backend/llsupport/test/zrpy_releasegil_test.py b/rpython/jit/backend/llsupport/test/zrpy_releas

[pypy-commit] pypy fast-gil: in-progress

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72191:809cc4f15a0b Date: 2014-06-24 14:43 +0200 http://bitbucket.org/pypy/pypy/changeset/809cc4f15a0b/ Log:in-progress diff --git a/rpython/jit/backend/x86/rx86.py b/rpython/jit/backend/x86/rx86.py --- a/rpython/jit/backend/x86/rx86.py +++ b/rp

[pypy-commit] pypy fast-gil: Partial revert of some previous changes in this branch: trying to

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72189:b349a2e4c0b5 Date: 2014-06-24 14:14 +0200 http://bitbucket.org/pypy/pypy/changeset/b349a2e4c0b5/ Log:Partial revert of some previous changes in this branch: trying to minimize the changes per branch diff --git a/pypy/goal/targetpy

[pypy-commit] pypy fast-gil: Translation fix

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72187:9fe8251182d4 Date: 2014-06-24 12:27 +0200 http://bitbucket.org/pypy/pypy/changeset/9fe8251182d4/ Log:Translation fix diff --git a/rpython/jit/backend/llsupport/callbuilder.py b/rpython/jit/backend/llsupport/callbuilder.py --- a/rpython/j

[pypy-commit] pypy fast-gil: translation fixes

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72186:1c5642278f0f Date: 2014-06-24 12:13 +0200 http://bitbucket.org/pypy/pypy/changeset/1c5642278f0f/ Log:translation fixes diff --git a/rpython/rlib/rgil.py b/rpython/rlib/rgil.py --- a/rpython/rlib/rgil.py +++ b/rpython/rlib/rgil.py @@ -1,6

[pypy-commit] pypy fast-gil: Change rpy_fastgil (invert the 0 and 1 values) to be more consistent

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72184:206fd7ee9cc1 Date: 2014-06-24 11:38 +0200 http://bitbucket.org/pypy/pypy/changeset/206fd7ee9cc1/ Log:Change rpy_fastgil (invert the 0 and 1 values) to be more consistent with the standards of __sync_lock_test_and_set(). diff --git

[pypy-commit] pypy fast-gil: in-progress

2014-06-24 Thread arigo
Author: Armin Rigo Branch: fast-gil Changeset: r72185:eaa2cbefc0e6 Date: 2014-06-24 12:03 +0200 http://bitbucket.org/pypy/pypy/changeset/eaa2cbefc0e6/ Log:in-progress diff --git a/rpython/jit/backend/llsupport/assembler.py b/rpython/jit/backend/llsupport/assembler.py --- a/rpython/jit/backe

[pypy-commit] cffi complx/indexrst-edited-online-with-bitbucket-1403535394739: index.rst edited online with Bitbucket

2014-06-24 Thread complx
Author: Kurt Jaeger Branch: complx/indexrst-edited-online-with-bitbucket-1403535394739 Changeset: r1520:4aa308c25af2 Date: 2014-06-23 14:56 + http://bitbucket.org/cffi/cffi/changeset/4aa308c25af2/ Log:index.rst edited online with Bitbucket diff --git a/doc/source/index.rst b/doc/source/i

[pypy-commit] cffi release-0.8: Merged in complx/cffi/complx/indexrst-edited-online-with-bitbucket-1403535394739 (pull request #42)

2014-06-24 Thread arigo
Author: Armin Rigo Branch: release-0.8 Changeset: r1521:08a4b8145f90 Date: 2014-06-24 10:51 +0200 http://bitbucket.org/cffi/cffi/changeset/08a4b8145f90/ Log:Merged in complx/cffi/complx/indexrst-edited-online-with- bitbucket-1403535394739 (pull request #42) index.rst edited o

[pypy-commit] cffi default: Transplant 08a4b8145f90

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1522:5722a31bd60a Date: 2014-06-24 10:51 +0200 http://bitbucket.org/cffi/cffi/changeset/5722a31bd60a/ Log:Transplant 08a4b8145f90 diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -63,7 +6

[pypy-commit] pypy default: Fix issue #1801

2014-06-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r72183:1b8316ceb9e6 Date: 2014-06-24 09:45 +0200 http://bitbucket.org/pypy/pypy/changeset/1b8316ceb9e6/ Log:Fix issue #1801 diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter/gateway.py --- a/pypy/interpreter/gateway.py +++ b/pypy/interpreter/g