MCPcopy Index your code
hub / github.com/secdev/scapy / _do_start

Method _do_start

scapy/automaton.py:1280–1291  ·  view source on GitHub ↗
(self, *args, **kargs)

Source from the content-addressed store, hash-verified

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

Callers 1

startMethod · 0.95

Calls 1

startMethod · 0.45

Tested by

no test coverage detected