Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 27 additions & 3 deletions DemoPrograms/Demo_Threaded_Work.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,34 @@
format to your messages going back to the GUI so you'll know which task finished
"""

# Put your....

###### ######## ## ##
## ## ## ## ## ##
## ## ## ## ##
## ######## ## ##
## ## ## ##
## ## ## ## ##
####### ## #######

#### ## ## ######## ######## ## ## ###### #### ## ## ########
## ### ## ## ## ### ## ## ## ## ## ## ##
## #### ## ## ## #### ## ## ## ## ## ##
## ## ## ## ## ###### ## ## ## ###### ## ## ## ######
## ## #### ## ## ## #### ## ## ## ## ##
## ## ### ## ## ## ### ## ## ## ## ## ##
#### ## ## ## ######## ## ## ###### #### ### ########

###### ####### ######## ########
## ## ## ## ## ## ##
## ## ## ## ## ##
## ## ## ## ## ######
## ## ## ## ## ##
## ## ## ## ## ## ##
####### ####### ######## ########

# Here in this thread

# ---------------------------------------
# Put your long-running code in here #
# ---------------------------------------
def worker_thread(thread_name, gui_queue):
print('Starting thread - {} '.format(thread_name))
# this is our "long running function call"
Expand Down