Provide shared storage in a single system thread?
Open
- Dominant language
- Rust
- Stars
- 4.1k
- Forks
- 339
- PR merge metrics
- No merged PRs in 30d
Description
I want to implement a database connection pool in async-std, and I need to create a queue in each system thread.However, async-std does not provide an associated api, which means I need to set up a global queue.However, there is no data competition between tasks, and sharing data within a thread is completely thread-safe.I hope to get some help
Contributor guide
Assessment
This issue has not been assessed yet.