async-rs / async-rs/async-std

Provide shared storage in a single system thread?

Open
#862 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.