Start threads for polling
()
| 176 | |
| 177 | |
| 178 | def poll(): |
| 179 | """ |
| 180 | Start threads for polling |
| 181 | """ |
| 182 | coordinator.master_thread.start() |
| 183 | for i in coordinator.slave_threads: |
| 184 | coordinator.slave_threads[i].start() |
| 185 | |
| 186 | exit_event.wait() |
| 187 | |
| 188 | |
| 189 | def setup_logging(args, conf): |