[Python-Dev] Slides from today's parallel/async Python talk
Charles-François Natali
cf.natali at gmail.com
Thu Apr 4 10:18:58 CEST 2013
Just a quick implementation question (didn't have time to read through
all your emails :-)
async.submit_work(func, args, kwds, callback=None, errback=None)
How do you implement arguments passing and return value?
e.g. let's say I pass a list as argument: how do you iterate on the
list from the worker thread without modifying the backing objects for
refcounts (IIUC you use a per-thread heap and don't do any
refcounting). Same thing for return value, how do you pass it to the
callback?
cf
More information about the Python-Dev
mailing list