diff options
| author | yum <yum.food.vr@gmail.com> | 2025-07-23 22:39:45 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-07-23 22:39:45 -0700 |
| commit | f6b93a20d754579008076e85f5c0a97e1bcbc258 (patch) | |
| tree | 7288699d6f22e76c4f30636a37e94265b3ef7708 /app/shared_thread_data.py | |
| parent | f3782c200c9a2ec2b77708da67b4127a38465ad1 (diff) | |
| parent | 043a447133695bfd2285a534b941db972873a692 (diff) | |
Import FastTextPager repo
Diffstat (limited to 'app/shared_thread_data.py')
| -rw-r--r-- | app/shared_thread_data.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/shared_thread_data.py b/app/shared_thread_data.py new file mode 100644 index 0000000..40885e8 --- /dev/null +++ b/app/shared_thread_data.py @@ -0,0 +1,14 @@ +import threading + +class SharedThreadData: + def __init__(self, cfg): + self.transcript = "" + self.preview = "" + + self.stream = None + self.collector = None + + self.word_lock = threading.Lock() + self.exit_event = threading.Event() + self.cfg = cfg + |
