From 0ebc79354ace812731a5c9a0a670cecd1ea941d7 Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 29 May 2025 15:03:06 -0700 Subject: Move core app logic into folder --- app/shared_thread_data.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 app/shared_thread_data.py (limited to 'app/shared_thread_data.py') diff --git a/app/shared_thread_data.py b/app/shared_thread_data.py new file mode 100644 index 0000000..ba0a419 --- /dev/null +++ b/app/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 + -- cgit v1.2.3