Wait for completion of tapes. See :py:func:`new_tape` for an example. :param thread_numbers: list of thread numbers
(self, thread_numbers)
| 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: |
no test coverage detected