Comments (2)
See rust-lang/rust#46774 . Looking back, I'm not using thread::yield_now
or thread::sleep
in the loop as I just let it block on reading stdin. Would make sense to add some delay there. Still don't know if that's the cause, though.
from distant.
Resolved by de69b41
Turns out this was only happening when the stdin stream for action had closed as the loop was not checking for EOF on the stream, meaning that it went into an endless loop with no break inbetween checks that finished immediately. We now properly kill the stdin thread once it reaches EOF as well as issue std::thread::yield_now()
between successful calls.
from distant.
Related Issues (20)
- Add server/client handshake HOT 1
- StackOverflow for providing a host for `server listen` that's not `ssh` or `any` HOT 3
- Authentication system HOT 4
- Panicking on for_each_mut_string HOT 4
- Refactor distant manager channel forwarding HOT 3
- Provide ARM binary HOT 6
- Improve new-user documentation and document config file. HOT 14
- Support user-level file system mounting
- Add notification support when distant client is reconnecting HOT 2
- Re-enable CI tests for distant CLI on Windows
- Update dependencies that are yanked in Cargo.lock HOT 1
- Add binaries for FreeBSD/OpenBSD/NetBSD HOT 6
- Add binary for Windows aarch64 (arm) HOT 2
- Implement heartbeat support to force-reconnect a client HOT 1
- Verify timed shutdown still works HOT 4
- Add password auth as alternative to static-key HOT 6
- Support generated config file HOT 2
- Support standalone mode for repl
- Support connecting to manager by id HOT 2
- Error when connecting from macos to Linux HOT 3
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 distant.