def _spawn(func, *args, **kwargs):
thr = Thread(target=func, args=args, kwargs=kwargs)<EOL>thr.daemon = True<EOL>thr.start()<EOL>return thr<EOL>
Calls `func(*args, **kwargs)` in a daemon thread, and returns the (started)
Thread object.