Message303916
@Prof Plum
> When I call pool.apply_async() I expect it only to return when the worker process has been started and finished it's initialization process
Well... it's called *async* for a reason, so I'm not sure why the behaviour would be partially synchronous.
@Oren
> Should we fix this?
I'm not sure how. In mp.Pool we don't want to keep references to input objects longer than necessary.
> Or is it the responsibility of the user to not destroy shared objects too soon? (In that case, maybe we should mention it in the docs?)
Yes to both questions, IMO.
(note: changing title to better reflect issue) |
|
Date |
User |
Action |
Args |
2017-10-08 19:55:26 | pitrou | set | recipients:
+ pitrou, davin, Oren Milman, Prof Plum, tlxxzj |
2017-10-08 19:55:26 | pitrou | set | messageid: <1507492526.76.0.213398074469.issue31092@psf.upfronthosting.co.za> |
2017-10-08 19:55:26 | pitrou | link | issue31092 messages |
2017-10-08 19:55:26 | pitrou | create | |
|