Comments (1)
Shuttle does support checking async code; for instance you can find examples of checking code with mpsc channels from the futures
crate in our tests.
To support code using libraries like tokio
, there are two options: (1) recompile tokio code using Shuttle primitives (which, as you can imagine, is a lot of work and hard to maintain long-term), or (2) write your own replacements for tokio primitives in Shuttle (similar to how we've written replacements for std::sync primitives in the shuttle::sync module). We've done some early work on (2), but don't have anything ready to publish at the moment.
from shuttle.
Related Issues (20)
- Failing schedule missing in output HOT 1
- Fix tracing spans
- "panicked while panicking" issues when drop handlers run concurrent code HOT 1
- `Once` breaks if moved HOT 1
- Rayon support HOT 1
- [TRACING] Improved testing of tracing functionality
- [TRACING] Add test which would catch the linked panic
- Implement thread::scope HOT 2
- Run native blocking code HOT 2
- Replace Condvar epochs with clocks
- Suppress `generator` error on panic HOT 2
- Release a new version? HOT 1
- Provide more useful feedback for deadlocks HOT 2
- `wait_timeout` and friends shouldn't count as deadlocking
- Implement thread park(), unpark(), and panicking() HOT 1
- Is shuttle planning to support fork mode?
- Can't load replay schedule for max_steps failures HOT 2
- shuttle::thread_local isn't dropped when threads exit the scheduler HOT 4
- Make `future::JoinHandle::abort` actually cancel task 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 shuttle.