Author: Ronan Lamy <ronan.l...@gmail.com> Branch: py3.6 Changeset: r97617:8de7da835fc9 Date: 2019-09-26 13:34 +0100 http://bitbucket.org/pypy/pypy/changeset/8de7da835fc9/
Log: hg merge default diff --git a/extra_tests/test_semlock.py b/extra_tests/test_semlock.py new file mode 100644 --- /dev/null +++ b/extra_tests/test_semlock.py @@ -0,0 +1,26 @@ +from _multiprocessing import SemLock +from threading import Thread +import time + + +def test_notify_all(): + """A low-level variation on test_notify_all() in lib-python's + _test_multiprocessing.py + """ + N_THREADS = 1000 + lock = SemLock(0, 1, 1, "/test_notify_all", True) + results = [] + + def f(n): + if lock.acquire(timeout=5.): + results.append(n) + lock.release() + + threads = [Thread(target=f, args=(i,)) for i in range(N_THREADS)] + with lock: + for t in threads: + t.start() + time.sleep(0.1) + for t in threads: + t.join() + assert len(results) == N_THREADS diff --git a/pypy/doc/release-v7.2.0.rst b/pypy/doc/release-v7.2.0.rst --- a/pypy/doc/release-v7.2.0.rst +++ b/pypy/doc/release-v7.2.0.rst @@ -14,7 +14,7 @@ The interpreters are based on much the same codebase, thus the double release. -With the support of ARM Holdings Ltd. and `Crossbar.io`_, this release supports +With the support of Arm Holdings Ltd. and `Crossbar.io`_, this release supports the 64-bit ``aarch64`` ARM architecture. More about the work and the performance data around this welcome development can be found in the `blog post`_. diff --git a/pypy/tool/release/force-builds.py b/pypy/tool/release/force-builds.py --- a/pypy/tool/release/force-builds.py +++ b/pypy/tool/release/force-builds.py @@ -28,6 +28,7 @@ 'own-win-x86-32', 'own-linux-s390x', # 'own-macosx-x86-32', + 'own-linux-aarch64', 'pypy-c-jit-linux-x86-32', 'pypy-c-jit-linux-x86-64', # 'pypy-c-jit-freebsd-9-x86-64', @@ -36,6 +37,7 @@ 'pypy-c-jit-linux-s390x', # 'build-pypy-c-jit-linux-armhf-raspbian', # 'build-pypy-c-jit-linux-armel', + 'pypy-c-jit-linux-aarch64', 'rpython-linux-x86-32', 'rpython-linux-x86-64', 'rpython-win-x86-32' diff --git a/pypy/tool/release/repackage.sh b/pypy/tool/release/repackage.sh --- a/pypy/tool/release/repackage.sh +++ b/pypy/tool/release/repackage.sh @@ -28,7 +28,7 @@ # Download latest builds from the buildmaster, rename the top # level directory, and repackage ready to be uploaded to bitbucket actual_ver=xxxxxxxxxxxxxxx -for plat in linux linux64 osx64 s390x # linux-armhf-raspbian linux-armel +for plat in linux linux64 osx64 s390x aarch64 # linux-armhf-raspbian linux-armel do echo downloading package for $plat if wget -q --show-progress http://buildbot.pypy.org/nightly/$branchname/pypy-c-jit-latest-$plat.tar.bz2 _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit