Comments (2)
could you provide a minimum project to recreate the error?
from opencomputers.
could you provide a minimum project to recreate the error?
https://gist.github.com/zeng-github01/5b6a4d8338350a6dfd4d2a1fee2c1e0a
Relevant code, I think this is written exactly according to the documentation
threadUI does not stop refreshing when I press Ctrl+C. This was also the case in another script of mine, and I was finally forced to change it to interrupt βwhileβ to implement it.
When the condition of while is "while not event.pull(0,"interrupted")", the loop can end normally, but the execution sequence will be stuck due to "while". This results in the need to press twice to end the program.
New problem, there is a loop thread that cannot be jumped out. Or the code behind (line 80) thread.create() cannot be executed
Update: When changing the while condition of the two threads to "while not event.pull(0,"interrupted")", the program will shut down immediately (not stuck) @PublicVoidUpdate
The code in the gist has been updated several times and may not fully comply with
from opencomputers.
Related Issues (20)
- Rendering error in the manual in the openos part, going down a little (I don't know if it is from optifine or opencomputers) HOT 2
- is there any reason why tablets don't keep their state? HOT 2
- I Really Want Laptops in Opencomputers HOT 3
- don't kill the mod π HOT 1
- eternal beep sound (1.12.2) HOT 1
- how can I add pages to official wiki HOT 1
- [1.12.2] JEI Errors
- Can I change some of the zh_cn translation? HOT 1
- AgriCraft
- Game Crashes when Right-click on a Robot HOT 3
- I would like to be able to transfer the system unit so that the components do not fall out HOT 1
- I wonder why the standard BIOS has such little functionality? HOT 1
- the "turnOff" method does not work at the "terminal server"
- Shulkerbox dupe HOT 4
- the "flash" program in openOS does not warn that the EEPROM is readonly
- RAIDs problem HOT 2
- I would like to be able to receive the file's checksum directly from the disk via the data card HOT 1
- OC + Forestry 1.12.2 (can't add bees to DB from ME) HOT 3
- Coroutine.wrap does not propagate errors raised in a coroutine HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencomputers.