New submission from Charles-François Natali <neolo...@free.fr>: Multiprocessing's MapResult and ApplyResult use a notification mechanism to signal callers when the underlying value is available. Instead of re-inventing the wheel, we could use threading.Event instead: this leads to cleaner and simpler code (with no noticable performance impact). Patch attached.
---------- components: Library (Lib) files: multiprocessing_event.diff keywords: patch messages: 136122 nosy: asksol, jnoller, neologix priority: low severity: normal stage: patch review status: open title: multiprocessing: simplify ApplyResult and MapResult with threading.Event type: behavior Added file: http://bugs.python.org/file22009/multiprocessing_event.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12091> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com