-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29018ad
commit 5914355
Showing
5 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Back to main page](index.html) | ||
|
||
# Table of contents | ||
1. [Problems](#problems) | ||
1.1 [Why can't I close the program?](#why-cant-i-close-the-program) | ||
|
||
# Problems | ||
|
||
## Why can't I close the program? | ||
|
||
Typically, when you try to close the program, it will display an error message and say it can't be closed at this time. This error message was built in very much intentionally to help prevent leaving programs running in the background. The speed testing is conducted in a background "thread" -- that is, a kind of "helper program" -- controlled by the graphical menu. While the tester thread is either running its test or waiting for the next one, it doesn't accept any instruction from the menu. The only times it checks for input is immediately before and immediately after running tests. This means that if you close the menu without stopping the thread first, it has nothing to tell it to stop. If you do this repeatedly, you now have 10 test threads running on your computer. And you can't stop them. This is bad. | ||
|
||
All you have to do to not get this is click `Stop` and wait for the display `Thread status: dead` before closing the program. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
#!/usr/bin bash | ||
python gui.py | ||
python gui.py | output.log |