blob: 40885e8e19c0ccd7d65c5db388e5f5e4fa20c107 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
|