run ModuleProcessor for each modules :param configuration: user final configuration :return:
(configuration)
| 563 | |
| 564 | |
| 565 | def stop_modules_processors(configuration): |
| 566 | """ |
| 567 | run ModuleProcessor for each modules |
| 568 | |
| 569 | :param configuration: user final configuration |
| 570 | :return: |
| 571 | """ |
| 572 | for module in configuration: |
| 573 | configuration[module]["module_processor"].kill_flag = True |
| 574 | |
| 575 | while True: |
| 576 | if True not in [ |
| 577 | module_processor_thread.is_alive() for module_processor_thread in processor_threads |
| 578 | ]: |
| 579 | break |
| 580 | time.sleep(0.1) |
| 581 | return |
| 582 | |
| 583 | |
| 584 | def set_network_configuration(argv_options): |
no outgoing calls
no test coverage detected