Provide an convenient way of using class comet.Process with functions (like class threading.Thread). Attribute target is called if no custom implementaion of run() is provided.
>>> def run(p):
... while p.running:
... pass
...
>>> p = comet.Process(id="proc", target=run)
>>> p.start()
Provide an convenient way of using class
comet.Process
with functions (like classthreading.Thread
). Attributetarget
is called if no custom implementaion ofrun()
is provided.