viff

changeset 1260:824ae3770456

Increment the program counter for synchronizing.
author Marcel Keller <mkeller@cs.au.dk>
date Wed, 07 Oct 2009 15:23:12 +0200
parents 547e9bc99d12
children ed2d02202af0
files viff/runtime.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/viff/runtime.py	Wed Sep 30 14:34:49 2009 +0200
     1.2 +++ b/viff/runtime.py	Wed Oct 07 15:23:12 2009 +0200
     1.3 @@ -680,6 +680,7 @@
     1.4          adding callbacks to the returned :class:`Deferred`, one can
     1.5          divide a protocol execution into disjoint phases.
     1.6          """
     1.7 +        self.increment_pc()
     1.8          shares = [self._exchange_shares(player, GF256(0))
     1.9                    for player in self.players]
    1.10          result = gather_shares(shares)