diff options
| author | yum <yum.food.vr@gmail.com> | 2025-05-17 23:41:20 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-05-17 23:54:56 -0700 |
| commit | f8e95c0b85288a10f435e0edabf43defa0c303ac (patch) | |
| tree | c0fd2d499cd7ee6e51947f1df62e7cad05b67816 /shared_thread_data.py | |
| parent | 0c54e1fc74fe7677a0d4fef1c147c6e886d182db (diff) | |
Add STT code
Diffstat (limited to 'shared_thread_data.py')
| -rw-r--r-- | shared_thread_data.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shared_thread_data.py b/shared_thread_data.py new file mode 100644 index 0000000..ba0a419 --- /dev/null +++ b/shared_thread_data.py @@ -0,0 +1,9 @@ +import threading + +class SharedThreadData: + def __init__(self, cfg): + self.word = "" + self.word_lock = threading.Lock() + self.exit_event = threading.Event() + self.cfg = cfg + |
