This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, pitrou, vstinner
Date 2011-06-21.00:42:34
SpamBayes Score 2.7256735e-09
Marked as misclassified No
Message-id <1308616955.32.0.135782003461.issue12364@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, submit a new task after the manager shutdown fails with OSError(32, 'Broken pipe'). Example:
---------------
from multiprocessing.managers import BaseManager

class MathsClass(object):
    def foo(self):
        return 42

class MyManager(BaseManager):
    pass

MyManager.register('Maths', MathsClass)

if __name__ == '__main__':
    manager = MyManager()
    manager.start()
    maths = manager.Maths()
    maths.foo()
    manager.shutdown()
    try:
        maths.foo()
    finally:
        manager.shutdown()
---------------
This example doesn't hang, but this issue is about concurrent.futures, not multiprocessing.
History
Date User Action Args
2011-06-21 00:42:35vstinnersetrecipients: + vstinner, pitrou, neologix
2011-06-21 00:42:35vstinnersetmessageid: <1308616955.32.0.135782003461.issue12364@psf.upfronthosting.co.za>
2011-06-21 00:42:34vstinnerlinkissue12364 messages
2011-06-21 00:42:34vstinnercreate