<?xml version="1.0" encoding="UTF-8" ?>
<rdf:RDF xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><Project><name>processing</name>
<shortdesc>Package for using processes mimicking the `threading` module</shortdesc>
<description>Package for using processes which mimics the threading module, and
allows the sharing of objects between processes.

The ``processing.Process`` class follows the API of ``threading.Thread``.
For example ::

    from processing import Process, Queue

    def f(q):
        q.put('hello world')

    if __name__ == '__main__':
        q = Queue()
        p = Process(target=f, args=[q])
        p.start()
        print q.get()
        p.join()

Synchronization primitives like locks, semaphores and conditions are
available, for example ::

    &gt;&gt;&gt; from processing import Condition
    &gt;&gt;&gt; c = Condition()
    &gt;&gt;&gt; print c
    &lt;Condition(&lt;RLock(None, 0)&gt;), 0&gt;
    &gt;&gt;&gt; c.acquire()
    True
    &gt;&gt;&gt; print c
    &lt;Condition(&lt;RLock(MainProcess, 1)&gt;), 0&gt;

One can also use a manager to create shared objects either in shared
memory or in a server process, for example ::

    &gt;&gt;&gt; from processing import Manager
    &gt;&gt;&gt; manager = Manager()
    &gt;&gt;&gt; l = manager.list(range(10))
    &gt;&gt;&gt; l.reverse()
    &gt;&gt;&gt; print l
    [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
    &gt;&gt;&gt; print repr(l)
    &lt;Proxy[list] object at 0x00E1B3B0&gt;

After installation you can run the test scripts by doing either ::

    python -m processing.test

on Python 2.5 or ::

    python -c "from processing.test import main; main()"

on Python 2.4.  This will run various test scripts using both
processes and threads.

See ``README.txt`` and ``doc/index.html`` in the package directory for
more information.</description>
<homepage rdf:resource="http://cheeseshop.python.org/pypi/processing" />
<maintainer><foaf:Person><foaf:name>R Oudkerk</foaf:name>
<foaf:mbox_sha1sum>1069241a6778599d978e87fab3c071314ba2b671</foaf:mbox_sha1sum></foaf:Person></maintainer>
<release><Version><revision>0.36</revision></Version></release>
</Project></rdf:RDF>