-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I use threads? #158
Comments
This would be a real nice feature. I don't think so. With the new async functionality that might be a possibility too. |
The technique I've used to leverage threading is to have GUI running in the main thread and other tasks running in threads. Maybe not the most minimal example, but I do this in a project where I use easygui with a voice recognition application. Easygui runs in the main thread and voice recognition in separate threads. |
the python3 process will be crashed on mac os,log is here Date/Time: 2019-11-24 09:32:44.947 +0800 Sleep/Wake UUID: 3D88DA82-392C-497F-A81A-AF264CC9BCA6 Time Awake Since Boot: 210000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Termination Signal: Segmentation fault: 11 VM Regions Near 0: Thread 0 Crashed:: Dispatch queue: com.apple.main-thread Thread 1: Thread 2: Thread 3: Thread 4: Thread 5: Thread 6: Thread 0 crashed with X86 Thread State (64-bit): Logical CPU: 2 Binary Images: External Modification Summary: VM Region Summary:
REGION TYPE SIZE COUNT (non-coalesced) |
Hi - I'd like to open up a text box and leave it in the background while the main python app continues running. The user will kill the text box using the OS controls at a later point.
I've tried to do that using a thread but that seems to fail. Any tips?
The text was updated successfully, but these errors were encountered: