/rev/ec281b1151e1
changeset: 1209:ec281b1151e1
user: Marcel Keller <[email protected]>
date: Thu Sep 10 18:41:07 2009 +0200
summary: Treat finish_mul() as complex callback because it calls open().
diffstat:
viff/active.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 49c14731cf5e -r ec281b1151e1 viff/active.py
--- a/viff/active.py Thu Sep 10 16:20:06 2009 +0200
+++ b/viff/active.py Thu Sep 10 18:41:07 2009 +0200
@@ -514,7 +514,7 @@
# This is the Deferred we will do processing on.
triple = self.get_triple(share_x.field)
triple.addCallback(gather_shares)
- self.schedule_callback(triple, finish_mul)
+ triple = self.schedule_complex_callback(triple, finish_mul)
# We add the result to the chains in triple.
triple.chainDeferred(result)
return result
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk