MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / join_tapes

Method join_tapes

Compiler/program.py:448–457  ·  view source on GitHub ↗

Wait for completion of tapes. See :py:func:`new_tape` for an example. :param thread_numbers: list of thread numbers

(self, thread_numbers)

Source from the content-addressed store, hash-verified

446 self.join_tapes([thread_number])
447
448 def join_tapes(self, thread_numbers):
449 """Wait for completion of tapes. See :py:func:`new_tape` for an example.
450
451 :param thread_numbers: list of thread numbers
452 """
453 self.curr_tape.start_new_basicblock(name="pre-join_tape")
454 for thread_number in thread_numbers:
455 Compiler.instructions.join_tape(thread_number)
456 self.curr_tape.free_threads.add(thread_number)
457 self.curr_tape.start_new_basicblock(name="post-join_tape")
458
459 def update_req(self, tape):
460 if self.req_num is None:

Callers 1

join_tapeMethod · 0.95

Calls 3

start_new_basicblockMethod · 0.80
join_tapeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected