Creates a thread.
(target: Callable[..., None], *args, **kwargs)
| 25 | |
| 26 | |
| 27 | def create_thread(target: Callable[..., None], *args, **kwargs): |
| 28 | """Creates a thread.""" |
| 29 | if internal_thread: |
| 30 | return internal_thread.create_thread(target, *args, **kwargs) |
| 31 | return threading.Thread(target=target, args=args, kwargs=kwargs) |