(self, *args, **kargs)
| 1278 | self.debug(2, "%s [%s] not taken" % (cond.atmt_type, cond.atmt_condname)) # noqa: E501 |
| 1279 | |
| 1280 | def _do_start(self, *args, **kargs): |
| 1281 | # type: (Any, Any) -> None |
| 1282 | ready = threading.Event() |
| 1283 | _t = threading.Thread( |
| 1284 | target=self._do_control, |
| 1285 | args=(ready,) + (args), |
| 1286 | kwargs=kargs, |
| 1287 | name="scapy.automaton _do_start" |
| 1288 | ) |
| 1289 | _t.daemon = True |
| 1290 | _t.start() |
| 1291 | ready.wait() |
| 1292 | |
| 1293 | def _do_control(self, ready, *args, **kargs): |
| 1294 | # type: (threading.Event, Any, Any) -> None |