MCPcopy Create free account
hub / github.com/dabeaz/python-cookbook / start

Method start

src/12/defining_an_actor_task/actor.py:33–40  ·  view source on GitHub ↗

Start concurrent execution

(self)

Source from the content-addressed store, hash-verified

31 self.send(ActorExit)
32
33 def start(self):
34 '''
35 Start concurrent execution
36 '''
37 self._terminated = Event()
38 t = Thread(target=self._bootstrap)
39 t.daemon = True
40 t.start()
41
42 def _bootstrap(self):
43 try:

Callers 9

tagged.pyFile · 0.45
actor.pyFile · 0.45
worker.pyFile · 0.45
example3.pyFile · 0.45
example2.pyFile · 0.45
example1.pyFile · 0.45
example2.pyFile · 0.45
example1.pyFile · 0.45
pqueue.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected