1 Test processing distribution on a multicore system using
2 ``Py_BEGIN_ALLOW_THREADS`` and ``threading.Thread``.
6 $ python setup.py build
10 $ time PYTHONPATH=build/lib.linux-x86_64-3.2/ ./grab-cores.py 2
16 You may need to tweak the ``PYTHONPATH`` to match the build directory
17 for your system. The results shown are for my two-core system.
18 During the run, ``top`` showed the process pegged around 195% of the
19 CPU, so we are actually using all the available horsepower.